This statement, I feel, is a huge insult to personal freedom. Though the law is made to protect people and to discourage wrong doings, it also sometimes can limit people. There are many people around the world who take for granted that the law is always right. But would it be, if the creator if the law is bias, racist, sexist, etc.?
The book 'The boy in striped pyjamas' deals with an innocent boy discovering the bias prejudice assumptions about Jews. The rule about this is to capture all 'proud and open' Jews. This is the law, so then should the Jews give up something that they truly believe in? Is this right?
If you disobey the law and face penalization, then so be it. No matter how sever the consequence is, because maybe, if you decide to be brave about it, then other will follow.