What applies for the most of today's politicians:
Laws are not made because they are righteous. Laws are made because they advance somebody's political career.
(It should be noted that these are words that don't come from a rock-throwing masked guy, but from a professional politician in suit and tie.)
And what every person on earth should always keep in mind:
It is everybody's duty to defy unjust laws.