And that's a problem. Licensing is just a scheme to prevent competition just as it's been since the guild days and before. If the state has any role to play a priori that would be credentialing, not licensing.
If someone lies or steals from another, the state has a role to play in making the injured party as whole as possible.