The insurer shall reimburse only the cost of replacements and repairs recognised as necessary; the compensation due by the insurer to the insured may not exceed the value of the insured item at the time of the loss, subject to the provisions of article L. 175-5.