How long President Donald Trump's legacy outlasts his presidency remains to be seen. But it appeared durable last week in a 5-4 Supreme Court ruling.

The case was Roman Catholic Diocese of Brooklyn v. Andrew Cuomo, governor of New York. The diocese sought "injunctive relief" from the governor's executive order limiting attendance at religious services during the pandemic. Cuomo had established color-coded zones — red, orange, yellow — to indicate infection levels and imposed attendance restrictions accordingly, a maximum of 10 congregants in red zones and 25 in orange zones.

The applicants contended that the restrictions are more stringent than those applied to secular institutions that had been deemed "essential," and thus violated the First Amendment's protection of the free exercise of religion. In fact, one of the applicants contended that Cuomo had "singled out a particular religion for blame and retribution for an uptick in a societywide pandemic."

The court found in favor of the diocese, and its ruling applies to two Orthodox Jewish synagogues that had filed similar requests.

The ruling reflects Trump's profound impact on the nation's highest court. Had Senate Majority Leader Mitch McConnell not refused to consider any nomination to the court during President Barack Obama's last year in office, or if he had been unable to bear the hypocrisy of squeezing Trump's nominee, Amy Coney Barrett, through the Senate barely in time to beat the election, last week's decision would almost certainly have gone in the opposite direction.

In similar cases in California and Nevada last summer, the court ruled 5-4 in favor of government officials limiting attendance at religious services.

And just as clearly, the court got it wrong last week. The ruling is an unsigned, bland rejection of the governor's attendance restrictions, depending on Justices Stephen Breyer and Sonia Sotomayor, writing in dissent, to note that lower courts have found "distinguishable" differences between religious services and other "essential" institutions.

Further, the ruling ignores the fact that secular entities that more closely resemble churches — movie theaters, lectures, concerts — were subjected to even harsher restrictions, including closures.

Thus, you have to read the dissents to understand this case fully. But to understand Trump's influence on the court, you have to read the concurrence by Neil Gorsuch, the justice who was imposed on the court by Trump and the Republicans in place of Obama's nominee, Merrick Garland.

Gorsuch's concurrence is jarringly Trumpian in tone. He expresses breathless indignation and sarcasm that aren't ordinarily associated with deliberative judicial reasoning. Gorsuch registers particularly partisan contempt for Cuomo, whose attempts to control the spread of the virus Gorsuch characterizes with loaded language such as "edicts," "executive decrees" and "assertions of power." He refers gratuitously to "New York's unconstitutional regime."

Further, Trump's pervading sense of grievance is reflected in Gorsuch's depiction of churches besieged by a secular society and a governor who thinks that "laundry and liquor" are "essential" but "traditional religious exercises are not." Gorsuch says, sarcastically, "according to the Governor, it may be unsafe to go to church, but it is always fine to pick up another bottle of wine."

In fact, Trump's sarcasm and sense of persecution may echo in the court for some time in findings such as Gorsuch's, whose pious sanctimony seems fixated on liquor stores, which he mentions dismissively at least five times.

In short, Gorsuch sounds like Trump: strident, sarcastic, snide, partisan, aggrieved and victimized, the opposite of the deliberative, conservative rationality of Chief Justice John Roberts.