If the same player controls both permanents when Shifting Loyalties resolves, nothing happens.
Shifting Loyalties
If another spell or ability allows you to change the targets of Shifting Loyalties (or perhaps copy it and choose new targets for the copy), you can change the targets only such that the final set of targets is still legal. For example, if Shifting Loyalties targets a creature you control and a creature an opponent controls, you couldn’t change just the second target to a noncreature permanent controlled by that player. You could, however, change just the second target to a creature controlled by a different opponent. The two new targets can share a different card type than the two original targets did.
If one of the target permanents is an illegal target when Shifting Loyalties resolves, the exchange won’t happen. If both permanents are illegal targets (perhaps because they no longer share a card type), Shifting Loyalties won’t resolve.
Magic: The Gathering · ™ & © Wizards of the Coast · Illus. James Ryman
Card data via Scryfall. Rarix is fan-made; not endorsed by the rights holders.
