One may well ask, "How can you advocate breaking some laws and obeying others?" The answer is found in the fact that there are two types of laws: there are just laws, and there are unjust laws. I would agree with St. Augustine that "An unjust law is no law at all."
Now, what is the difference between the two? How does one determine when a law is just or unjust? A just law is a man-made code that squares with the moral law, or the law of God. An unjust law is a code that is out of harmony with the moral law. To put it in the terms of St. Thomas Aquinas, an unjust law is a human law that is not rooted in eternal and natural law.
Martin Luther King, Jr., Letter from a Birmingham Jail.