I don't obey laws that I think are stupid.
Given that it was a stupid law, I've elected not to obey it
Another great example is Jordan Peterson vowing to disobey C16 in Canada.
Civil disobedience forces a debate in an official public forum(court, the press). Rosa Parks is a great example.