The former security minister said he was willing to leave the European Convention on Human Rights (ECHR) if it prevented the government from deporting foreign criminals and he was unable to reform it.