If vacancies in the office of governor and the office of lieutenant governor occur simultaneously, the person appointed under AS 44.19.040 succeeds directly to the office of acting governor until successors to the respective offices are elected in a special election.