I mean sure there’s an explainion but that explainion is still a load of shit. Palp was happy when Vader stoped Luke he was trying to turn Luke to the dark but he never planned to die or take Luke’s body’s and with the rule of two in the prequels and all the other canon material it makes a ton more sense that he wanted an appetence to take over for him the proper way which is why he was trying to get rid of Vader.
The soul swapping nonsense should have stayed in the EU as it makes no sense.