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.
Anything which is a hindrance to the fight of the soul is a delusion and a snare, even like the body which often does hinder you in the path of salvation.