Medieval legend with no basis in fact.
And even if it wasn't, it would be simulation of a sacrament and be utterly invalid (as well as any decrees that were proclaimed by the imposter).
NB: not to say that I would give this any credence, but even if, hypothetically, it was the case, it would be utterly invalid anyway.