Cal. Family Code - FAM § 1620. Section 1620.Except as otherwise provided by law, spouses cannot, by a contract with each other, alter their legal relations, except as to property.