Those questions are too hostile - you have put a great deal of effort into preparation. Just tell the judge you didnt do it and respectfully suggest that the officer was mistaken.
If you try to corner a cop you will lose. The judge will either reduce or dismiss your charge if you dress up, present your case reasonably & respectably and maintain composure.