Act Governing Relations with Hong Kong and Macau Article 43

Provisions of the Criminal Code shall apply to the following offenses committed in Hong Kong, Macau, or on the vessels or aircraft of Hong Kong or Macau:(1) Offenses provided in each item of Article 5 of the Criminal Code;(2) Offenses provided in each item of Article 6 of the Criminal Code committed by civil servants of the Taiwan Area; and(3) Offenses not provided in items (1) and (2) above, which are committed by persons from the Taiwan Area, or against persons from the Taiwan Area, for which the minimum penalty is imprisonment of three years or longer, unless said offenses are not punishable under Hong Kong or Macau laws.The Criminal Code shall also apply to offenses provided in each item of Article 5 of the Criminal Code, which are committed by Hong Kong or Macau Residents in foreign areas, or to offenses not stipulated in items (1) and (2) of Paragraph 1 of this Article, which are committed against persons from the Taiwan Area for which the minimum penalty is imprisonment of three years or longer, and which are punishable under the laws of the foreign areas involved.
中文原文 香港澳門關係條例第43條
在香港或澳門或在其船艦、航空器內,犯下列之罪者,適用刑法之規定:
一、刑法第五條各款所列之罪。
二、臺灣地區公務員犯刑法第六條各款所列之罪者。
三、臺灣地區人民或對於臺灣地區人民,犯前二款以外之罪,而其最輕本刑為三年以上有期徒刑者。
但依香港或澳門之法律不罰者,不在此限。
香港或澳門居民在外國地區犯刑法第五條各款所列之罪者;或對於臺灣地區人民犯前項第一款、第二款以外之罪,而其最輕本刑為三年以上有期徒刑,且非該外國地區法律所不罰者,亦同。

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