During the War of Spanish Succession, why was Charles II's succession to the Spanish throne made more difficult after he was made Holy Roman Emperor?