If any clause, sentence, paragraph, or part of this part relating to discrimination in employment or the application thereof to any person or circumstance, shall, for any reason, be adjudged by a court of competent jurisdiction to be invalid, such judgment shall not affect, impair, or invalidate the remainder of this part and the application thereof to other persons or circumstances, but shall be confined in its operation to the clause, sentence, paragraph, or part thereof directly involved in the controversy in which such judgment shall have been rendered and to the person or circumstances involved.
Ca. Gov. Code § 12996