Forget laws. They are but social expedients. Take, for example, PLESSY v. FERGUSON, the 1896 landmark decision of the Supreme Court that made "separate but equal" the law of land and ushered in the patently ugly and unjust JIM CROW laws in the Deep South. It took until 1954--58 years--to right this egregious ruling with the unanimous decision of BROWN v. BOARD OF EDUCATION.
Forget laws. Always go to your heart to find the moral--the correct--decision of all disputed matters. Laws can be flagitious, but in your heart, you will always find truth.