The higher court that handles appeals.
That’s the generic answer to “what is stopping the court from…” in a functional judicial system.