With the caveat that this article has been drafted with limited time to review the nitty gritty details, and the Government has, supposedly, had a decade to look into this, it appears that the Government are wrong to consider the Ahmed, soon to be released from prison, cannot be deported (or removed) from the UK.
The Government refer to the Immigration Act 1971 which came into force on 1 January 1973. Section 7 of that Act provides an exemption from deportation for Commonwealth and Irish nationals who were ordinarily resident in the UK when the act came into force and had lived in the UK for at least 5 years before any deportation decision was taken.
What the government might have missed is in subsection 1 which states: