1907. Where the lessor fails to perform his obligations, the lessee may apply to the court for authorization to perform them himself. The parties are then subject to the provisions of articles 1867 and 1869.
The lessee may also deposit his rent in the office of the court, if he gives the lessor prior notice of 10 days indicating the grounds for depositing it and if the court, considering that the grounds are serious, authorizes the deposit and fixes the amount and conditions of the deposit.