law: The Recycling of Ships Act, 2019
  28. Power to inspect, dismiss, exclude or detain a ship.-
  (1) The National Authority or Administration or any Survey authorised by it, may inspect any ship, at a reasonable time, while at any port or within Indian waters:
  Provided that any such inspection shall be only for the purpose of verifying that there is on board either a certificate on inventory of hazardous materials or a ready for recycling certificate.
  (2) The National Authority may dismiss, exclude or detain the ship from its ports or within Indian waters in case of,-
  (a) failure to carry a valid certificate on inventory of hazardous materials or a valid ready for recycling certificate or both, as applicable; or
  (b) non-compliance with the control measures for hazardous materials notified by the Central Government.
  (3) A ship detained under sub-section (2) shall remain under detention till such time until the non-compliance is rectified or till such time until permission is granted by the National Authority for such detained ship to proceed to an appropriate repair yard or port, without danger to the ship, environment or persons on board.
  (4) Any Commissioned Officer of the Indian Navy or Indian Coast Guard or any Port Officer, Pilot, Harbour Master, Conservator of Port or Customs Collector may detain the ship, the detention of which is authorised or ordered to be detained under this Act.