If you choose to fight the law in court, you may do so, but you're guilty of breaking that law until the courts prove that the law is not valid.
Incorrect, you are not guilty of breaking the law until the court finds you guilty. (you missed the subtlety of it)