In accordance with the law, illegal aliens may be detained only after the issuance of an appropriate order from immigration authorities and after the illegal alien has had prior opportunity to state his claims before the issuing authority.
根据这项法律，只有在移民主管部门下达有关命令且非法的外国人有机会向下达命令的主管部门申诉其权利要求之后，才能将非法的外国人拘留。