In the absence of contractual stipulations providing for the conditions of his replacement, if the trustee fails in his duties or jeopardises the interests entrusted to him or if he is the subject of safeguard or receivership proceedings, the settlor, the beneficiary or the third party designated pursuant to Article 2017 may apply to the courts for the appointment of a provisional trustee or request that the trustee be replaced. A court decision granting the application shall automatically divest the original trustee and transfer the trust estate to the replacement trustee.