Government's ad hoc response to the migrant crisis did not take into account the reality of their lives