The Judicial Police Dispatching Act Article 1

Prosecutors, in the line of duty while performing investigations, have the right to command judicial police officers and give orders to judicial police; likewise, these conditions apply to judges that handle criminal cases.
中文原文 調度司法警察條例第1條
檢察官因辦理偵查執行事件,有指揮司法警察官、命令司法警察之權,推事於辦理刑事案件時亦同。

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