William McKinley actually said...
The rights and privileges of such a vessel as to enter clearance dues, charges, etc., in foreign ports and in ports of the United States will be determined by the laws of the country in which the port may be situated.
06/15/1899