265. The directors or officers of any insurer who assent to a loan or investment in contravention of sections 259 and 262 are jointly and severally liable towards the insurer and third persons, up to the amount of the loss thus sustained, for all the debts contracted by the insurer after the said loan and until its repayment.