I'll toss in some pointers. Tickets issued with a simple mistake usually do not invalidate the entire citation. In 20 years, I have lost in court only twice and neither had anything to do with errors. Both were caused by lack of pre trial preparation on my part.
Understand, when you go to court...you are addressing only the violation. Not the weather. Not the traffic. Not what the next car did. Just the violation. You job as your own attorney is to raise a reasonable doubt. There are a few things that you may try to raise a reasonable doubt:(man I hate sharing this but I sometimes love seeing rookies sweat when they get a tough court case)
Ask the Officer if he is absolutely sure it was you. Grow a moustache or shave one off....grow your hair...part it differently...wear a suit if you were dressed casually or wear casual clothes if you wore a suit when you were stopped. Look at the Officer and ask him if there was a chance that someone else was using your license or a duplicate/counterfeit of your license. Don't push too hard...just a little nudge. If he doesn't get stumped. Stop the line of questioning immediately and move on. Don't commit perjury just ask if he is sure it was you. Move on to the next question.
Ask the Officer exactly where he was in relation to the light, if he had a clear view of the light that you were facing. Next ask how he knows it was your car. Have him describe something remarkable (bumper sticker, bad paint, a custom feature, make, model, passengers). Ask him if he kept your car in sight the entire time.
Next, ask what the sequence of the lights at the intersection are. Do your homework and make sure you have the answers as well. Ask how long the typical green light phase is. Aske how long the yellow light stays on before it turns red. Ask if he timed the sequence on the day of the citation.
You can get the drift here. One thing...if you are going to try and profess innocence...never waver. Never state that the light might have been red for a second before you crossed the limit line or anything of the sort. Never, never, never, never state anything or claim anything that accuses the Officer of dishonesty. I have seen very few things that will piss off a traffic court judge more than someone calling or insinuating an Officer was dishonest. It's like instant conviction with the highest penalty allowed.
If you want to play the court game, all you are trying to do is raise a small amount of doubt that the violation was observed by the Officer properly. State that in your closing comment. Something like this:
" Your Honor...with all due respect to this Officer and his professionality...I feel that in this case, his perception of the violation may have been slightly off. I was facing a green light when I entered the intersection. I believe that the light phase was unusually short. That while I entered the intersection, it is possible the light phase cycled yellow and red in such a fast sequence that it did not allow time for traffic to pass through the intersection without being perceived as being unlawful. That the Officer may not have been given the oportunity to have a fair perception of the location of my vehicle in relation to the red light phase since the light possibly cycled in such a rapid fashion. I honestly feel that I entered the intersection in a lawful manner. I would like to motion the court to dismiss the citation based upon a reasonable doubt that the light was functioning properly."
The only reason I offer this up is because I take notes, cover all my bases and am absolutely prepared when I enter a court room. I don't take it personally, I really don't care about the outcome of the court case. It is out of my hands when I am done testifying. But I hate to see Officers fail to be prepared for a case. It's embarassing to me when I see one get stumped over something simple like identification. I'm not offerring up any secrets. Just pointing you in the right direction. Understand....not everyone can pull it off. I've been in court hundreds of times and testified in everything from 2 month trials to 20 second traffic court cases. So in this case it is easier said than done. I used to teach traffic violators school and shared similar advice.
Your other option is to take your lumps and go to traffic school. (It's easier)