Article 17 : Right of innocent passage
Subject to this Convention, ships of all States, whether coastal or land-locked, enjoy the right of innocent passage through the territorial sea.
UNCLOS : http://www.un.org/depts/los/convention_agreements/texts/unclos/unclos_e.pdf