In a proceeding for dissolution of marriage or for nullity of marriage, but not in a proceeding for legal separation of the parties, the court, upon the request of a party, shall restore the birth name or former name of that party, regardless of whether a request for restoration of the name was included in the petition.
Ca. Fam. Code § 2080