Appeal it to another court. That's what appeals courts are for.
And while the appeal is on going, then what?
If a judge sentences someone to be put to death immediately that hasn't committed a crime, and refuses to issue a stay order for an appeal, should that judges sentence be carried out?
It the person is dead, what good is an appeal?
No.
Sometimes you must resist the court in order to preserve justice.