A divided U.S. Supreme Court on Monday said the First Amendment prohibits the U.S. government from denying intellectual property protection to “immoral” or “scandalous” trademarks, such as the name of the clothing line “FUCT” that was in the case before the justices.

Ruling in Iancu v. Brunetti, the justices said the Lanham Act, which bans registration of “immoral … or scandalous matter,” violates the free speech rights of clothing designer Erik Brunetti.