When Napoleon III came to power, like his uncle Napoleon, he was conscious of the need for an heir. He