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.

(Enacted by Stats. 1935, Ch. 145.)