How do SLM retention policies work in case of total node failures?

Lets say I have a critical node failure and all data in my elasticsearch container A gets wiped including the created SLM retention policy.

Now a new container B is created with the same retention policy and snapshot repository containing all my old snapshots. Will this newly created retention policy apply to my old snapshots created by the SLM policy from container A or am I going to have to manually delete old snapshots?

Thanks in advance.