Andrew Chung / Reuters

In January 2017, when President Donald Trump’s so-called Muslim ban was first announced, I was passionately against it. It was one of the most frightening texts I’ve read from U.S. government officials in my lifetime. The Supreme Court just upheld the third iteration of the travel ban in Trump v. Hawaii, and I find myself in the odd position of opposing the court’s ruling on personal and moral grounds, while also thinking it was a legally plausible interpretation.

Like most political developments of the Trump era, there is a tension between having the “right” position and having the “correct” position. A pure anti-Trump position would entail opposing the court’s ruling regardless of its substantive content. This feels morally right—and it may even be the morally right—but that doesn’t necessarily make it correct. The Supreme Court, unlike Congress, is not tasked to make moral judgments about the law, at least not explicitly.

The first version of the travel ban, which, among other things, appears to have been intended to troll liberals, explicitly discriminated based on religion. The very fact of being Muslim was grounds for scrutiny. One clause, in particular, effectively imposed a religious test. Refugees facing religious persecution could be admitted but only if “the religion of the individual is a minority religion in the individual’s country of nationality.” The revised version, issued in September 2017, omits such language, and incorporates two non-Muslim countries, North Korea and Venezuela. Regarding Syrian refugees, this means that, in theory if not necessarily in practice, entry restrictions on Syrian refugees would apply equally to Muslims and Christians alike. Accordingly, Chief Justice John Roberts wrote that the president’s directive was “neutral on its face.”

Of course, the president’s directive is probably not neutral in intent. Trump and many of his senior aides bear an avowed animus toward Muslims or Islam, or both. Trump himself said during the 2016 campaign that he thinks “Islam hates us.” How much should intent matter? Constitutional law scholars—and of course the Supreme Court itself—are divided. In her dissent, Justice Sonia Sotomayor cited Trump’s rather long paper (or tweet) trail to argue that “taking all the relevant evidence together, a reasonable observer would conclude that the Proclamation was driven primarily by anti-Muslim animus.” But the extent to which certain motivations figure more than others is always difficult to divine. It’s also possible that someone’s intent changes over time, and it’s not necessarily the easiest task to discern what Trump’s “primary” versus “secondary” motivations might be on any specific matter.  What we do know is that the discriminatory nature of the text of the order itself is no longer self-evident, so what might have initially been an unequivocally discriminatory “Muslim ban” is now something else.

I am still deeply uncomfortable with the Supreme Court’s ruling. It contributes to the legitimization and mainstreaming of anti-Muslim bigotry. That’s certainly how it will be interpreted by millions of Americans. But that doesn’t mean the ruling itself, in narrow terms, rises to the level of one of the great moral questions of our time. The decision does not turn American Muslims like myself into “second-class citizens,” and to insist that it does will make it impossible for us to claim that we have actually become second-class citizens, if such a thing ever happens. To claim that Jim Crow or the Holocaust were similarly “legal” diminishes the moral seriousness of crimes that nearly all Americans, today, agree were unequivocally wrong. (No such consensus exists on Trump v. Hawaii and to assume that it will exist at some point in the future is to assume that morality will always necessarily be progressive and retroactive.) To use a less incendiary comparison, it is also difficult to argue that Trump v. Hawaii is comparable to the 1944 Korematsu v. U.S. decision permitting the internment of Japanese Americans. Nation-states generally have wide latitude in determining which non-citizens can enter their borders, where Korematsu targeted U.S. citizens.

Voters should be able to debate which entry and immigration policies are most appropriate, effective, and, yes, moral as it relates to non-citizens outside of our borders. To insist that such questions should be decided outside the confines of normal democratic deliberation undermines democratic responsiveness and accountability. This is particularly a risk at a time when immigration, rightly or wrongly, has become a top concern of voters in most Western democracies. To think that such questions can be resolved by dismissing or bypassing the views of your fellow citizens is a “long term recipe for public disillusionment and alienation,” writes Tablet’s Yair Rosenberg. The courts may be great places to bend the arc of history toward justice, but they’re only great places for that when they agree with whatever we already think is just.

As The New York Times notes, those who feel uncomfortable (or disgusted) with recent Supreme Court decisions must “look somewhere else. That place is the ballot box.” Moral judgments on constitutionally and legally muddy debates can be rendered, but they’re best rendered by persuading as many of our fellow citizens that they should stop voting for anti-Muslim presidents.

We want to hear what you think about this article. Submit a letter to the editor or write to letters@theatlantic.com.