The man’s a damned heretic as well as an idiot.
Q: If a pope is a heretic, does his successor still have a valid claim to apostolic succession?