(ii)it is a ship registered under the Merchant Shipping Act, 1958, or a ship registered outside India in respect of which a licence has been issued by the Director-General of Shipping under section 406 or 407 of said Act or an inland vessel registered under the Inland Vessels Act, 2021, as the case may be; and