The California Supreme Court upheld an injunction Monday that prohibits a car rental employee from using racial epithets in the workplace.

“Once a court has found that a specific pattern of speech is unlawful, an injunctive order prohibiting the repetition, perpetuation, or continuation of that practice is not a prohibited ‘prior restraint,’” wrote Chief Justice Ronald George.