The California Supreme Court on Monday largely turned back an attempt by cable news outlet CNN to wield the state’s anti-SLAPP statute to knock out a former newsroom employees’ discrimination lawsuit.

The high court’s ruling partially overturned a lower appellate court decision that found the statute—which shields free speech-related activity from abusive lawsuits—couldn’t be raised as a defense in cases of alleged employment discrimination.