In my experience it helps to do a few things.
First you need to be part of an Order , the order needs to pre date 1666 ad
Then you need to be ordained in that order as a Frater or Sorer
Then you declare this to your government usually through the court system.
Once this is in place you need to have leverage, ie " if this happens i will do this in return " Declare this privately on email ( dont worry they will get it )
When you go to court write to the magistrate asking questions , whom is " R "
Is your court held by supreme court rulings ?
then declare your Sovereignty by stating your given name and that you are from the family " insert family name " that you will not answer to the prefix Mr or Miss etc nor will you be referred to as a " person "
Ask the magistrate in that letter what jurisdiction and what type of law are they exercising ?
Dont worry they wont respond but rest assured they have read it,
Then when you enter the court you state you are not a ward of the state and representing your self.
You then state you are part of a religious Order and that you will plead guilty upon condition.
Then you negotiate the condition. If you dont get the condition you want you appeal. Sometimes the judge will ask you what you will do before sentence , you always state if my condition's are not met ill be forced to appeal. This is good for minor things like traffic infringements. bigger things you may need a lawyer but once you do youre a ward of the state and just know the lawyer is on their side. Unless the lawyer needs big money for the case then he may pay off the court on your behalf and you will get a better verdict.
Please note in my experience the judges in Australia are of a very high quality , i must say that when you stand up for your self they tend to give you some credit just for that .. 8 out of 10 are really very fair , some just want to nail you no matter what.
Relaise they are all under the Mason system so it would be advantageous to be respectful of the Masons ( not all are bad ) in my experience also exceptional people. They too tread carefully inside their own system , they have to , its a maelstrom of rules and ego and its always advantageous to be respectful.
First and best rule of thumb : Its only illegal if you get caught.