Why was Iran's Islamist ex-deputy defence minister given UK citizenship in the late 2000s?

On Saturday, the Iranian regime announced that it had executed British-Iranian national Alireza Akbari by hanging. He was 61. It seems that he'd been secretly held in custody there since 2019.