There are multiple definitions - click on the translation that matches your context.

Ersatzerbschaft

Substantiv

neolog

appointment of an alternative heir