All you need to do is prove a slight doubt in the judges mind.
these two things that were mentioned are all you should need to beat this ticket.
:"* take your emission papers in for proof that the car passed.
* bring up the fact that the exhaust was too loud, yet there was not decibal tests done."
if the cops lies and said he did ask him for a report/ results of test.
rememeber- proving doubt- is all you need to do.