Under the previous Tory government the barge had been used as a controversial method of dealing with the migrant crisis.