I heard about that law from Frezned's channel on YouTube. This is something worthy of Civil Disobedience, in my book. It's outrageous. I'd go to jail for it. That's just me though.
I am suspicious whether they'd really lock someone up for this though. Bring as much attention to it as you possibly can if you do decide to defy the law. Have a good, succinct message to explain your actions. If I were in your shoes, I would be exploring all the ramifications of various choices and be careful not to be knee-jerk about the choice to defy. Basically do a cost-benefit analysis and feel confident that the benefits outweigh the costs of the C.D.