eign ship, during their stay in port, such attention and respect as their rank and situation may require; and to afford such assistance to the ship, if wanted, as circumstances will admit, and as a power in amity with the United States may reasonably expect.