Before you can realize any success,
you need to get a grip on the truth
that our public officials work for the public...
the public servants are serving us...
we the people are the masters...
not vice versa.
This person fires up emergency lights and sirens, pulls you over, and starts trying to get you to testify against yourself about transportation... then writes a citation and a police report.
A colleague of the officer and/or of the prosecuting attorney hears the police report and makes up a signed and sworn statement of belief that you really are a criminal.
This person takes up the alleged offense, acts on behalf of the allegedly-damaged party (the state) and files paperwork in a court to initiate legal action against you,
This person acts with presumed jurisdiction (until challenged!) to hear and adjudicate the case. It starts with court paperwork in the mail, and ends with a ruling of innocence or guilt.