The U.S. Supreme Court ruled on Thursday that Texas can keep the Confederate flag off the specialty license plates it issues to drivers.

Rejecting a First Amendment claim by the Sons of Confederate Veterans, the justices ruled, 5-4, that the license plates are a form of government—not private—speech, thereby giving the state leeway to decide which messages are allowed on the plates.