2174. The mandatary may not, notwithstanding any provision to the contrary, renounce his mandate unless he has previously provided for his replacement if the mandate provides therefor or has applied for the institution of protective supervision in respect of the mandator.