Insurance Code § 2056
ARTICLE 2. Measure of Indemnity
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.