In my state the emissions and safety inspections are combined under the same license. As recently as the 2010s the 3rd party that the training was contracted out to would straight up tell you in the PowerPoint slides that the state's #1 priority is emissions and that the point of the safety inspection was to make holding the license lucrative to remove incentive to circumvent emissions inspection process (i.e. it's a make-work program).
But yeah, that needs proper regulation and oversight.
Its mind boggling to me that the place the does the inspections, is also the same place that can sell you the repairs - repairs that you may or may not actually need.
It works really really well. I've been very buddy buddy with shops and they will still give me a thorough inspection. It's also a pretty basic inspection, meaning if you fail it you should probably not be on the road.