The Law of Ships Article 32

For a non-R.O.C. flag ship that departs from a R.O.C. international port, the master of the ship shall submit the inspection document or proof of passing inspection to the shipping administration authority of the port for examination.For a non-R.O.C. flag ship that fails to submit the inspection document or proof of passing inspection for examination or whose documents have expired, the shipping administration authority of the port may order improvement to be made within a specified deadline, and the ship shall not depart from the port before fulfillment of the order.The master of the ship who disagrees to the order for improvement or prohibition to depart from the port as mentioned in the preceding paragraph should appeal to the shipping administration authority of the port within 5 days.
中文原文 船舶法第32條
非中華民國船舶自中華民國國際港口發航者,應由船長向該港之航政機關送驗船舶檢查或檢驗合格證明文件。
未依前項規定送驗船舶檢查、檢驗合格之證明文件或證明文件有效期間屆滿之非中華民國船舶,該港航政機關得命其限期改善,未改善完成前,不得離港。
船長不服前項命其限期改善或不得離港之處分者,得於五日內向該港航政機關提出申復。

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