Inspection question

Well, evidently having kinda shitty brakes is a misdemeanor and they can arrest me lol. My sister was talking to one of the cops in town and was like "hypotheticly speaking, if you have XXXXXXX,XXXXXXX and XXXXXXX wrong with your car, what would happen…well they figured out it was me in like .000001 seconds and yeah.