just dress in say khakis and a polo shirt or long sleeved shirt with no tie.
when you get their you can usually talk with a representing officer from the town you got the ticket in. obviuosly you can't win the inspection thing, but ask him to drop the exhaust thing. if you have a namebrand catback this should be easier, but if you got some generic muffler that is loud as hell you'll lose.