NYS Inspection w check engine light on

The process may be ridiculous but don’t blame the inspector. It could well be that the inspector thinks certain policies are ridiculous also but if the inspector violates those policies they could be subject to fine or jail time.

Some years back there was a new story about a fleet mechanic in KS who was faced with 7 years in prison and a 50k dollar fine for illegally adding a partial can of refrigerant to a company owned vehicle

When OK had a safety inspection program we used to get a lot of complaints over that one too.
The law stated that when an inspection commenced (meaning the car hit the service bay) the inspection had to be completed; meaning the car either passed or was rejected for whatever reason with a rejection slip written up in the case of the latter.
Many people would get very irate over a rejection slip and would insist that the inspection just be ended, the paperwork shelved, and they would bring the car back after repair.
Fine for them maybe, but not so fine for the inspector who was faced with a fine and jail time for doing so.