I'm genuinely surprised no-one's just made a little board that you wire to the OBDII socket that just goes "yeah everything fine here nothing to see".
Here in the UK with a 30-year-old Range Rover, it gets tested on exhaust pipe emissions with the "sniffer", but it always passes because it's been converted to dual-fuel. If it's put in for a test on LPG, it gets tested on LPG.
I did one manage to take a roadside stop-and-check station out of action because they insisted on testing it anyway. I did say to them that it was gas and not petrol, but they went right ahead.
"But we can't test gas emissions"
Yeah, that's a you problem.
"It needs to be running on petrol so we can test it"
It doesn't run on petrol at the moment, I've got the tank out while I wait for a new fuel pump. (This broke their brains entirely)
"Well we have to test it so it needs to be on petrol"
It won't run on petrol, there's no petrol, it's running on propane.
"The tester's not working, it's shut down when we tested your car and says it needs calibrated"
Yeah, again, you problem. Here's the printout of the emissions sheet from the last MOT. Bye!
Idiots.
"I lost my keys over there"
"But there's no light over there, let's search here under this light instead".