Justice Kennedy reluctantly went along with the majority opinion, noting that even if the courts didn't have power to review every action of a public official, such officials still have have an obligation to conduct themselves in accordance with their oath to uphold the constitution.
"There are numerous instances in which the statements and actions of Government officials are not subject to judicial scrutiny or intervention. That does not mean those officials are free to disregard the Constitution and the rights it proclaims and protects. The oath that all officials take to adhere to the Constitution is not confined to those spheres in which the Judiciary can correct or even concurring comment upon what those officials say or do. Indeed, the very fact that an official may have broad discretion, discretion free from judicial scrutiny, makes it all the more imperative for him or her to adhere to the Constitution and to its meaning and its promise.
The First Amendment prohibits the establishment of religion and promises the free exercise of religion. From these safeguards, and from the guarantee of freedom of speech, it follows there is freedom of belief and expression. It is an urgent necessity that officials adhere to these constitutional guarantees and mandates in all their actions, even in the sphere of foreign affairs. An anxious world must know that our Government remains committed always to the liberties the Constitution seeks to preserve and protect, so that freedom extends outward, and lasts."Justice Sotomayor with whom Justice Ginsburg joined in dissenting, was scathing of the majority, accusing them of ignoring the facts, misconstruing legal precedent and turning a blind eye to the suffering Trump's ban inflicts on countless families and individuals, many US citizens.
"The United States of America is a Nation built upon the promise of religious liberty. Our Founders honored that core promise by embedding the principle of religious neutrality in the First Amendment. The Court’s decision today fails to safeguard that fundamental principle. It leaves undisturbed a policy first advertised openly and unequivocally as a “total and complete shutdown of Muslims entering the United States” because the policy now masquerades behind a façade of national-security concerns. But this repackaging does little to cleanse Presidential Proclamation No. 9645 of the appearance of discrimination that the President’s words have created. Based on the evidence in the record, a reasonable observer would conclude that the Proclamation was motivated by anti-Muslim animus. That alone suffices to show that plaintiffs are likely to succeed on the merits of their Establishment Clause claim. The majority holds otherwise by ignoring the facts, misconstruing our legal precedent, and turning a blind eye to the pain and suffering the Proclamation inflicts upon countless families and individuals, many of whom are United States citizens. Because that troubling result runs contrary to the Constitution and our precedent, I dissent."