294. (1) Where under this Act or any other written law in force in Ceylon or any part thereof a ship is to be or may be detained, an authorized officer (as defined in sub-section (7)) may detain the ship.
(2) If, after the detention of a ship or after service on the master of a ship of any notice of or order for the detention of the ship, such ship goes to sea before it is released by the competent authority,—
(a) the master of the ship; and
(b) the owner and any person who sends the ship to sea, if that owner or person is party or privy to the offence, shall each be guilty of an offence and on conviction thereof shall be liable to a fine not exceeding two thousand rupees.
(3) An authorized officer may if he thinks it necessary to do so place a police guard on any ship detained under this section.
(4) Where a ship going to sea takes to sea when any authorized officer, police guard or Surveyor is on board thereof in the execution of his duties, the owner and master of the ship shall each be liable—
(a) to pay all expenses of and incidental to such officer, guard or Surveyor being so taken to sea; and
(b) on conviction, to a fine of two hundred rupees for every day until such officer, guard or Surveyor returns, or until such time as would enable him after leaving the ship to return to the port from which he is taken, and the expenses ordered to be paid may be recovered in like manner as the fine. *Enforcing detention of ship.* *Proper officer of customs to be informed of detention of ship.* *Cap. 234.* *Cost of detaining ship.* *Notice to Consular officer on detention of foreign ship.* *Sums ordered to be paid leviable by distress on ship.* (5) Any police guard placed on board a ship under sub-section (2) is hereby authorized to take such steps as are necessary to prevent the ship from leaving port.
(6) Any person who opposes or in any way obstructs any authorized officer, police guard or Surveyor shall be guilty of an offence and on conviction thereof shall be liable to a fine not exceeding one thousand rupees.
(7) In this section “authorized officer” means the Director, a Master Attendant, a Shipping Officer, an officer of customs, a Ship Surveyor, any commissioned officer of the armed forces, and any person specially or generally authorized by the Director to detain a ship.
295.
(1) Where under this Act or any other written law a ship is to be detained, a Shipping Officer shall, and where under this Act or any other written law a ship may be detained a Shipping Officer may, notify the proper officer of customs that such ship is liable to be detained.
(2) Where a notification under sub-section (1) has been made to any officer of customs in respect of any ship, such officer shall refuse to clear that ship outward and to grant such ship a clearance under section 63 of the Customs Ordinance.
(3) In this section “proper officer” has the meaning assigned thereto by the Customs Ordinance.
296.
Where a ship is detained in pursuance of any provisions of this Act which provides for the detention of a ship until a certain event occurs, sub-section (2) of section 211 shall apply as if the ship had finally been detained within the meaning of that section.
297.
(1) Whenever—
(a) any foreign ship is detained under this Act; and
(b) any proceedings are taken under this Act against the master or owner of such ship, notice shall forthwith be served on the Consular officer for the country to which the ship belongs at or nearest the port where the ship is for the time being.
(2) The notice to be served under sub-section (1) shall specify the grounds on which the ship has been detained or on which the proceedings have been taken.
298.
Where any Court has power to make an order directing payment to be made of any seaman’s wages, fines or other sums of money, then, if—
(a) the party directed to make such payment is the master or owner of a ship; and
(b) such wages, fine or sum is not paid at the time and in the manner prescribed in the order, the Court which made the order may (in addition to any other powers which it has for the purpose of compelling payment) direct the amount remaining unpaid to be levied by distress and sale of the ship, her tackle, furniture and apparel.