Act Governing Relations with Hong Kong and Macau Article 24

Vessels of the Republic of China may sail to Hong Kong or Macau in accordance with the relevant laws and regulations. However, in the event of a threat to the security, public order, or interests of the Taiwan Area, the Ministry of Transportation and Communications or relevant agencies may impose necessary restrictions or prohibitions.Vessels of Hong Kong or Macau may sail to the Taiwan Area in accordance with the relevant laws and regulations. However, the Ministry of Transportation and Communications or relevant agencies may impose necessary restrictions or prohibitions under any of the following circumstances:(1) If the security, public order, or interests of the Taiwan Area may be threatened;(2) If Hong Kong or Macau adopts discriminatory measures against vessels of the Republic of China; or(3) If investigations prove that a vessel is owned by mainland Chinese company which without permission to sail between the Taiwan Area and Hong Kong or Macau .Regulations governing affairs relating to vessels of Hong Kong or Macau when entering or exiting the ports and when berthing in ports in the Taiwan Area may be formulated respectively by the Ministry of Transportation and Communications or relevant agencies, and shall not be subject to the restrictions imposed by Article 25 of the Commercial Port Law.
中文原文 香港澳門關係條例第24條
中華民國船舶得依法令規定航行至香港或澳門。
但有危害台灣地區之安全、公共秩序或利益之虞者,交通部或有關機關得予以必要之限制或禁止。
香港或澳門船舶得依法令規定航行至台灣地區。
但有下列情形之一者,交通部或有關機關得予以必要之限制或禁止:
一、有危害台灣地區之安全、公共秩序或利益之虞。
二、香港或澳門對中華民國船舶採取不利措施。
三、經查明船舶為非經中華民國政府准許航行於台港或台澳之大陸地區航運公司所有。
香港或澳門船舶入出臺灣地區港口及在港口停泊期間應予規範之相關事宜,得由交通部或有關機關另定之,不受商港法第二十五條規定之限制。

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