Sounds like an example of the infamous "Hijacked by Gannon" game trope lol -
"An inverted form of The Man Behind the Man. Rather than a new evil being behind an old villain, an old villain is behind a new one.
This is common for iconic villains (such as many of the ones from Nintendo games) with Joker Immunity — no matter how many times the hero beats them, they keep coming back in the next game. Frequently, they even retry the same evil plot."
https://tvtropes.org/pmwiki/pmwiki.p...ijackedByGanon