Licensing also means corrupted busy bodies and gate keepers; it doesn't necessarily increase quality, but it surely decrease supply of service providers and give a rather dangerous power to a selected (by whom?) group
Yes, licensing does reduce supply compared to a free-for-all. But that’s the point, it filters out people who shouldn’t be doing the work in the first place. For engineers, the PE designation means you’re legally responsible for your work.
Licensing is a poor filter. Have you ever gotten a bad haircut? Is there a hairstylist or barber at your usual shop that you avoid? Those folks are licensed too.