Regulations Governing Temporary Detention of Passengers Article 10

When the accused is detained in accordance with subparagraph 2 of Paragraph 1, Article 64 of the Act, the accused shall be forbidden from entering and/or exiting the country according to Paragraph 1, Article 4 of the Act or he/she will be dealt with by other processes accordingly, after the investigation is completed by the Agency unless the accused is in violation of other laws, in which case the accused shall be processed in accordance with the other laws.If the accused obstructs the inspection procedures, but has been prevented from continuing to obstruct the inspection or is stopped, the Agency shall release the accused from detention and shall record the obstruction of the accused in the work record book.
中文原文 內政部入出國及移民署實施暫時留置辦法第10條
當事人依本法第六十四條第一項第二款規定被暫時留置者,經入出國及移民署調查後,除發現違反其他法令,依其他法令規定處理外,應依本法第四條第一項規定禁止入出國,或為其他必要之處置。
當事人嚴重妨礙查驗秩序之行為經制止後,已無妨礙查驗秩序者,入出國及移民署應停止暫時留置,並將妨礙查驗秩序之情形紀錄於暫時留置工作紀錄簿。

English translation for reference only; the Chinese text prevails. Not legal advice.