The government has taken the first step in appealing a court's decision that asylum seekers cannot be housed in an Essex hotel.