; or (2) part V of title IV of the Tariff Act of 1930 ( 19 U.S.C. 1581 et seq.). . 315. Enforcing compliance with United Nations shipping sanctions against North Korea (a) In general The Ports and Waterways Safety Act ( 33 U.S.C. 1221 et seq.) is amended by adding at the end the following new section: 16. Prohibition on entry and operation (a) Prohibition (1) In general Except as otherwise provided in this section, no vessel described in subsection (b) may enter or operate in the navigable waters of the United States or transfer cargo in any port or place under the jurisdiction of the United States. (2) Limitations on application (A) In general The prohibition under paragraph (1) shall not apply with respect to— (i) a vessel described in subsection (b)(1), if the Secretary of State determines that— (I) the vessel is owned or operated by or on behalf of a country the government of which the Secretary of State determines is closely cooperating with the United States with respect to implementing the applicable United Nations Security Council resolutions (as such term is defined in section 3 of the North Korea Sanctions and Policy Enhancement Act of 2016); or (II) it is in the national security interest not to apply the prohibition to such vessel