Extra repulsive to then decide to deport this person immediately upon release. Just no regard for human life.
And it is a great example of why prison should not be punishment, but serve rehabilitation. Because it will punish also people mistakenly put into prison, and at least they should be able to live a decent life.
And while a punishment system is much more likely to produce released criminals that commit more crimes, rehabilitation statistically shows that people coming out of prison will integrate into society and lead a happier and more peaceful life.