At least 27 foreign criminals, including a child killer, four paedophiles, and three rapists, have been spared deportation.