technically , this should n't have happened , since strictly speaking he was not the heir , but to the witches he looked like being the best man for the job and , as they say , all 's well that ends well .