Having failed to win a referendum to amend the constitution in 2016, he turned to the courts he filled with friendly faces to win the right to run again.