The public prosecutor would need to prove the shirt was used to “menace, harassment or offence”. Even a mediocre defence lawyer should be able to have the charges thrown out.
A good lawyer will take it to the High Court of Australia and get the legislation thrown out.