Stalking and Harassment Prevention Act Article 21

If after interrogation, the court believes that the accused is, beyond a reasonable doubt, suspected to have committed the crimes stated in Article 18, Paragraph 2 or Article 19, and the facts are sufficient to believe that there is a risk of criminal recidivism and detention is necessary, the accused may be detained.
中文原文 跟蹤騷擾防制法第21條
行為人經法官訊問後,認其犯第十八條第二項、第十九條之罪嫌疑重大,有事實足認為有反覆實行之虞,而有羈押之必要者,得羈押之。

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