Of course, if any treaty stipulations exist between the United States and the country to which a foreign ship belongs, with regard to the right of the consul of that country to adjudge controversies arising between the master and crew, or other matters occurring on the ship exclusively subject to the foreign law, such stipulations should be fairly and faithfully observed.