Any such law is illegal and unconstitutional.
Also, since there is an infinite spectrum of genders this is “unfair” to all those genders in between male and female. Besides, anyone can change his/her/its birth record and “become” legally another gender.
Q: if someone is given a position because of gender, and he/she/it changes his/her/its gender, is he/she/it guilty of fraud?
>>Any such law is illegal and unconstitutional.<<
California is trying to prove just how successful liberal fascism can be!