In all suits or proceedings brought upon policies of insurance on buildings against loss or damage by fire, hereafter issued or renewed, the insurer shall not be permitted to deny that the property insured was worth, at the time of insuring it by the policy, the full sum insured therein on such property.