first round: they will ask you plea guilty?, if you answer no, you will have to wait to the second round( the same day ).
second round: everyone not plea guilty on first round will have their chance to defence themselves.
the judge will ask you you story. then ask the police who gives you the ticket his/her story. Then the judge will decide.