Maritime Act Article 64

Cargo of an contraband or being declared fraudulently with knowledge by the carrier, the carrier shall refuse to carry it. The same rule applies where the nature of the cargo tends to cause damage to the ship or endanger the health of the personnel on board the ship, provided that those are allowable under a custom of shipping or commercial trade.Cargo of an inflammable, explosive or dangerous nature whereof the carrier has consented with knowledge of their nature becoming a danger to the ship or cargo, may at any time be landed at any place, or destroyed or rendered innocuous by the carrier without compensation except to general average, if any.
中文原文 海商法第64條
運送人知悉貨物為違禁物或不實申報物者,應拒絕載運。
其貨物之性質足以毀損船舶或危害船舶上人員健康者亦同。
但為航運或商業習慣所許者,不在此限。
運送人知悉貨物之性質具易燃性、易爆性或危險性並同意裝運後,若此貨物對於船舶或貨載有危險之虞時,運送人得隨時將其起岸、毀棄或使之無害,運送人除由於共同海損者外,不負賠償責任。

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