Section 336(1)(a) in The Merchant Shipping Act, 1958
(a)The Central Government, if it has reason to believe, on complaint or otherwise, that any such ship is unsafe, may order the ship to be provisionally detained as an unsafe ship for the purpose of being surveyed.