In Masterpiece Cakeshop v. Colorado Civil Rights Commission, the U.S. Supreme Court resolved the claim of a baker who wanted to refuse to sell a cake to a gay couple who sought to celebrate their marriage. But its decision probably says more about the legality of President Donald Trump’s entry ban than it does about the ability of merchants to refuse to comply with nondiscrimination statutes.

Masterpiece Cakeshop presented the high court with an opportunity to decide whether merchants have a First Amendment right not to comply with generally applicable nondiscrimination statutes. The baker argued that Colorado’s prohibition on sexual-orientation discrimination infringed his right to free speech, because it compelled him to express views with which he didn’t agree, and infringed his right to religious liberty, because it compelled him to associate with a relationship to which he harbored religious objections. And he sought an exemption from nondiscrimination provisions for him and others like him.