Cal. Prob. Code § 3112
(a) If a petitioning spouse is one whose legal capacity for the proposed transaction is to be determined in the proceeding, the court may do any of the following:
(b) If a petitioning spouse lacks legal capacity for the proposed transaction, the court may do either of the following: