Laws cannot prevent you having your own view, regardless of whether it is right or not.
Laws are not there for solving problems. They are there to prevent crimes and control the consequence. If your solution for solving a problem involves breaking a law, you can certainly go ahead if you do not mind the consquence.
Laws are there to break. One can rob and murder to solve his poverty problem or the poverty problem of his friend. Who can prevent him? Nobody can.
Moral is not a mere slogan. Moral guides a human being what he should or should not do in a civilized world, distinguishing him from an animal. Morally correct cannot make us rich or sexually happy. It helps us to sleep well, though.
May I ask if you have children?