You cannot argue the officer's judgment in court. However, you should be able to make a video of your exhaust, show that it emits no black smoke, and take it to a police station. Or go to a muffler shop and have them give you a receipt of it getting fixed.
What you may also be able to do is...