Go to court, stand in line and speak to the prosecuting attorney. Show him proof that you had an appointment to have the car inspected. The PA should know the laws and how you have 7 days from the date you're stopped to get it inspected. Chances are it'll be dropped and there won't be any court costs.