The original Dread Pirate Roberts?
The *original* wasn't anywhere near the film, having long since retired and handed over the title to an underling, who then did the same... some DPRs later, "the" DPR was our Westley, as in the frame. This says 'identity-switching' but DPR *was* the identity and the thing that got switched was the meatbag using it.