A lender who has not complied with the obligations relating to informing the borrower in the event of a change in the borrowing rate set out in article L. 312-31 and, for account overdraft transactions, in article L. 312-89 is deprived of the right to interest, in full or in the proportion set by the judge.