Many states barely even check anything anyway. Out of six states I've had a vehicle inspection in, only one (Maryland) did more than check lights, wipers, brakes, and horn. Inspections seem to be more a revenue stream than anything else.
Except Maryland, none of the states I've done an inspection looked inside the vehicle. The states that did emissions would fail if check engine light is on, but if you disconnect the battery right before to reset it then they might pass it.