The Federal Court has ordered the government to repatriate four Canadian men currently being held in northeastern Syria.