Rule 383.2.c.3.a
Triggered Abilities that trigger from Game Objects leaving the board trigger and are placed on the chain after any Replacement Effects are processed. If a Replacement Effect causes the Game Object to not leave the board in the appropriate way, the relevant Triggered Abilities will not trigger. Example: If a unit’s death is replaced by an event of that unit being healed, exhausted, and recalled, that unit’s Deathknell abilities will not trigger, as the unit’s death event is replaced and does not occur. Example: If Treasure Trove’s being killed is replaced with it being banished, it will still trigger just before the banish action is executed.