The first time they pull over a lawyer, they'll have their butt handed to them.
Wow, I may have just thought of a good use for lawyers!
Seriously though, sorry to hear that BS is happening in your area. I don't know if it applies to Canadian laws and regulations, but those C.A.R.B. (California Air Resources Board) certification stickers that come with many aftermarket parts could be handy in this situation. Say you have a C.A.R.B. sticker for an old Y-pipe, before you installed your current no-cat offroad pipe.......you could "convienently" forget to remove that sticker from under your hood, and the cop wouldn't know the difference. Even better of course, if you have a current smog inspection tucked away in your glove box that you can wave under his nose.