40. (1) Where the master, owner or agent of a vessel fails to pay to the Ports Authority on demand any charges or part thereof payable under this Act the Authority may distrain or arrest the vessel and the tackle, apparel or furniture or other article belonging to the vessel, and detain the same until the charges are paid:
Provided, however, that it shall be lawful for any party aggrieved by any distrain or arrest of such vessel to apply to any court of competent jurisdiction for such relief as he may, in law, be entitled to.
(2) Where any part of the charges, arrears, rents, dues, penalties or the costs of the distress, arrest or detention of the vessel, tackle, apparel or furniture or other article remains unpaid for the period of fourteen days next after any such distress, arrest or detention, the Ports Authority may cause the vessel or the other articles so distrained, arrested or detained, to be sold, and may apply the proceeds thereof to satisfy the charges and costs (including the costs of the sale) and the Authority shall pay the balance thereof (if any) to the master, owner or agent of the vessel on demand.
(3) Where the Ports Authority issues a notice to the Principal Collector of Customs stating that an amount specified therein is due in respect of charges against any vessel, the Principal Collector of Customs may refuse to grant any port clearance to such vessel until the amount so leviable has been paid. *Power to distrain for non-payment of charges &c.* (4) The provisions of this section shall be in addition to, and not in derogation of the rights of the Ports Authority under any other written law.