The former prime minister secretly swore himself in as joint minister three times.