Whether or not it is a bad law, the fact remains that it is still the law of the land and will remain so until overturned.Is this semantics, too? Tell me, if you can; what is the purpose of law in the first place? Tell me: in your view, can there be any such thing as an unjust law, or any case where the law is applied unjustly?
Cordially,
Can you be prosecuted for disobeying what you perceive as an unjust law? Of course you can. And you can discuss the moral philosophy aspects of your situation with your cell mate. [Assuming it matters to your cell mate].