That’s extradition, it’s a completely different process, unrelated to deporting illegal aliens. Moreover, I specifically gave Britain as an example target, and these concerns are not relevant for extraditing to Britain.
The UK, incidentally, does the same for us if sending someone here would result in the death penalty.