This chapter and chapter 605 of this title do not affect a right or privilege of a foreign country relating to tonnage taxes or other duties on vessels under a law or treaty of the United States.