The Catechism in Questions & Answers

297. How are God’s commandments to be seen in relationship to the laws of the state?

God’s commandments stand above the laws of the state. The sole deciding factor in deciding whether God’s commandments have been violated is the will of God, and not that of any legislator.