Alan Dershowitz is an American constitutional law scholar and author

President Donald Trump avoided a constitutional crisis by appealing, rather than defying, an overbroad injunction against his visa executive order issued by a federal judge in Washington State. A panel of the 9th Circuit Court of Appeals refused to rescind the injunction on an emergency basis, thus keeping the nationwide injunction in effect, at least until the court considers briefs from both sides. Another federal judge in Massachusetts rendered a decision refusing to renew a similar injunction, and thus allowing the visa restrictions to be implemented.

In light of these conflicting rulings, the President could have said that he was going to follow the one he and his lawyers believed was correct. Had he done so, the judge in Washington might well have held the President in contempt of court, thus creating a constitutional crisis between co-equal branches of our government.

Story continues below advertisement

Instead, Mr. Trump ordered his Justice Department immediately to appeal what he characterized as the "ridiculous" opinion of "this so-called judge," as Mr. Trump characterized Justice James Robart on Twitter Saturday morning. The White House initially characterized the injunction as "outrageous," but then withdrew that injudicious characterization, only to have the President tweet even more injudicious language that may well offend the Appellate Courts to which the order will be appealed.

Justice Robart's order is neither ridiculous nor outrageous, as evidenced by the refusal of these appellate judges to immediately overrule it. And the judge himself, who was appointed by former U.S. president George W. Bush, is not "so-called" – he is a respected jurist who rendered what he honestly believed was a proper decision under the law.

Having said that, the injunction is too broad in scope and lacks nuance. It may well be modified on full appeal. It applies equally to individuals with different constitutional status. For example, a family from Yemen, with no connection to the U.S., has no cognizable right to receive a visa. Whereas, a visa holder already in this country might have such a right. But if the injunction is upheld, the President will have to comply with it, regardless of his personal views, or his lawyers' professional judgments. As the Washington State Attorney General correctly put it, "No one is above the law, not even the President."

Whatever one thinks about the merits or demerits of Justice Robart's injunction – or of the Massachusetts Federal Judge's refusal to renew the injunction – we are observing in action the American system of checks and balances, and separation of powers.

Although the executive and legislative branches are solidly in Republican hands, a single district court judge, representing the lowest level of the judicial branch, can bring a presidential order to a screeching halt – at least until and unless it is reversed or modified on appeal. And there is nothing the President can do about it, other than tweet his outrage and order an appeal to be taken to the Court of Appeals and eventually to the Supreme Court.

But because Republican Senators refused to allow former President Barack Obama to fill the vacancy resulting from Justice Scalia's death a year ago, the High Court might well split 4-4 if this case comes before them, as the justices did when a case involving Mr. Obama's executive order on deportation came to them from the federal courts in Texas. A 4-4 split leaves the lower court judgment intact.

But if the plaintiffs appeal the Massachusetts order, the Supreme Court may be presented with conflicting judgments. The 9th Circuit may affirm the granting of the nation-wide injunction, while the 1st Circuit affirms the denial of the injunction. A 4-4 split would leave both conflicting orders in place, thus causing uncertainty and even chaos. That is why the pending nomination of Neil Gorsuch – as the potential tie-breaking 9th Justice – is so important. But his nomination is unlikely to be approved by the Senate in time to decide this divisive issue, which appears to be on a fast track to the Supreme Court.

Story continues below advertisement

There are, of course, other options. Mr. Trump could rescind the executive order and re-write it in a more careful and lawful manner. As currently written, it contains several constitutionally questionable provisions especially with regard to religion. An executive order could be crafted so as to eliminate these questionable elements, without compromising on national security. This would require the kind of consultation with experts – legal, military, intelligence, legislative – that was obviously lacking in the hasty rollout of this broad and unduly provocative order. If he wants to clean up the mess he caused, President Trump would have to acknowledge that he issued the initial order in haste – that he was wrong. But "wrong" is not a word that comes easily to Donald Trump, at least when he is talking about himself.

So we may have to live with the uncertainty resulting from an overbroad Executive Order, an overbroad injunction against that order, an overbroad refusal to enjoin any part of the order, and overbroad appeals from conflicting judicial decisions.

No one ever said that the system of checks and balances, and separation of powers, would be efficient or pretty. But this case demonstrates that, like democracy itself, our complex system of governance is better than its alternatives.

Eds note: This column has been updated from the original version to reflect the upholding of the injunction on Sunday.