Law on the Territorial Sea and the Contiguous Zone of the Republic of China Article 17

If the authorities of national defense, police, customs or other authorized agencies of the Republic of China consider that a person or an object which is in the territorial sea of the Republic of China or the contiguous zone is engaged in any activity violating laws and regulations of the Republic of China, such authorities may engage in hot pursuit, boarding, inspection, and when necessary, detaining, arresting, or putting in custody such persons or objects.The authorities prescribed in the preceding paragraph may replace each other consecutively in undertaking hot pursuit, boarding, and inspection.
中文原文 中華民國領海及鄰接區法第17條
中華民國之國防、警察、海關或其他有關機關人員,對於在領海或鄰接區內之人或物,認為有違犯中華民國相關法令之虞者,得進行緊追、登臨、檢查;必要時,得予扣留、逮捕或留置。
前項各有關機關人員在進行緊追、登臨、檢查時,得相互替補,接續為之。

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