Laws serve to protect the privileges of the wealthy and powerful; obeying them is not necessarily morally right—it may even be immoral. Slavery was legal. The Nazis had laws too. We have to develop the strength of conscience to do what we know is best, regardless of the laws.
What is your excuse?