Students must live in a Travelodge if they refuse to inhabit a building site, Queens’ has told students.