Yes.
That is not how the separation of power is supposed to work. If a law is bad, politics (preferably a democratic process representing the people) replaces the law with a better one. Until the new law comes into effect, everyone is supposed to abide by the old law, even if it's bad.
As they say: democracy may not exist, but we'll miss it when it's gone.