The release of an asylum seeker sex offender from prison was a “mistake that should not have happened”, the justice secretary ...