These inspections are nothing but pointless revenue generation for the state, checking for the check engine light and inspecting 1 wheel at most usually. Lots of states don't even have them.
Didn't the big German auto manufacturers literally develop the hacks to bypass diesel emissions inspections? I'm not sure I'd hold anyone up in a pedestal on this score...
Those cars still passed the inspection. Which means they were physically sound. A battery isn't going to shift into an alternate mode where it becomes a spontaneous fire hazard.
Those have nothing to do with each other: Germany indeed has a company level corruption problem (especially in combination with the conservative party), but pretty low corruption at the citizen level, i.e. where vehicle inspections happen.
Death by burning from an exploding battery from an uninspected, poorly-mainteained car in the garage of your shared low-rent apartment building is also a regressive tax.
In Ireland, roughly half of the vehicles going for the NCT fail on the first try, and ultimately about 5% don’t pass at all after retries.
Of that, I’d say half of the initial failures are simple things that don’t require a mechanic, (dead bulbs, bad/low tires) and the rest require a me hanic to do something.