That we should obey laws whether good or bad is a new-fangled notion. There was no such thing in former days. The people disregarded those laws they did not like and suffered the penalties for their breach.
Satyagraha: Non-violent Resistance (ed. 1951)