in the body of the vessel or in the machinery, tackle, apparatus or other accessories thereof, so far as the invention is used on board the vessel and for its actual needs only; or
in the construction or working of the aircraft or land vehicle or of the accessories thereof,
as the case may be.
(2)
This section shall not extend to vessels, aircrafts or land vehicles owned by persons ordinarily resident in a foreign country the laws of which do not confer corresponding rights with respect to the use of inventions in vessels, aircraft or land vehicles owned by persons ordinarily resident in India while in the ports or within the territorial waters of that foreign country or otherwise within the jurisdiction of its courts.