how to get around emissions?

i am almost positive that even if you have a sticker, a police officer does not have to scan the barcode, they can simply tell when they run your plate that your car is not legally inspected, sticker or not