Cal. Ins. Code § 2056
Stipulations in a valued policy concerning the repairing, rebuilding or replacing of buildings or structures wholly or partially damaged or destroyed shall prevail over the provisions of sections 2054 and 2055.