(1) If a descendant gives themselves up to extravagance to such a degree or is so heavily indebted that their future livelihood is seriously endangered, the testator may limit the right of the descendant to a compulsory share by directing that after the death of the descendant, the testator’s heirs on intestacy are to receive, as reversionary heirs or as subsequent legatees, the share which is left to the descendant, or the compulsory share to which the descendant is entitled, in proportion to their shares of the inheritance on intestacy. The testator may also transfer the administration to an executor during the lifetime of the descendant; in such a case the descendant has a claim to the annual net proceeds.
(2) The provisions of section 2336 (1) to (3) apply accordingly to directions of this kind. The directions are ineffective if, at the time of the devolution of the inheritance, the descendant has permanently given up their extravagant life, or the heavy indebtedness creating the reason for such directions no longer exists.