The Home Office said it didn't want to repeat past mistakes which led to 'unsafe and chaotic situations'.