Any foreign railroad company or corporation, whose road enters the United States by means of a ferry, tugboat, or towboat, may own such vessel and operate the same in connection with the water transportation of the passenger, freight, express, baggage, and mail cars used by such road, together with the passengers, freight, express matter, baggage, and mails transported in such cars, without being subject to any other or different restrictions than those imposed by law on any vessel of the United States entering ports of the United States from ports in the same foreign country: Provided, That except as authorized by section
883 of this Appendix, such ferry, tugboat, or towboat shall not, under penalty of forfeiture, be used in connection with the transportation of any merchandise shipped from any port or place in the United States, its Territories or possessions, embraced within the coastwise laws of the United States, to any other port or place within the same.