Certainly not, in fact I, being the defendant, will never even be under oath, but the cop will, that is if he even shows up, most will simply skip the hearing meaning the ticket is thrown out by the court. I got out of one ticket like that back in the 1990's, several years ago I got out of another one because the cop wrote an incorrect VIN number on the ticket. It's worth it to go to court for traffic tickets, 70% of the time you will win.
When the judge asks you a question, you WILL be under oath.
“It’s worth it to go to court for traffic tickets, 70% of the time you will win.”
It’s only worth it if the ticket is for more than you make in the time you’ll miss from work. I think that’s why the cops rarely show up, because they know most other people can’t afford to show up either.