Most properly yes, the Magistrate/Judge will dismiss the red light and ask the related authorities to issue the proper infringement, if you are lucky it could be dismissed altogether, you will never know what will happen until you attend the court.
Why did you go to court? If I were you, I would ask for a review first. The point to consider is using the court time, I think the best option is to ask for review and if the result was the red light stands, then go to court.
You need to consider the point of having the review process. This is meant to untilse the court's time for cases that need a court, yours may not need a court as it is obvious. The Magistrate/Judge may not like you attending without the review.
As mentioned that if the review stated the red light infringement stands, then go to court and mention it in the court too. [This is only my opinion and it does not present the practice of the court- just to be on the safe side]
Good luck