Reminds me of that priest who discovered he was baptized with the incorrect formula, and thus his baptism actually never happened. So they had to baptize him, give him all the sacraments up to Holy Orders, and then go and give all the sacraments to the people he baptized, married, etc.