California Atty. Gen. Rob Bonta filed a lawsuit Monday against the Chino school district, ordering an end to a policy that requires notifying parents if their children change their gender identity, alleging it is discriminatory and violates civil rights and privacy laws.

The “parental notification” policy, which has been proposed by a handful of conservative-leaning districts in California, puts transgender and gender-nonconforming students in “danger of imminent, irreparable harm” by potentially forcibly “outing” them at home before they’re ready, according to the lawsuit.