17. (1) Where the master of a ship or the captain of an aircraft has been directed under section 16 to remove a person specified in the order to India from Ceylon and he fails so to do, he shall be guilty of an offence under this Act, and shall on conviction be liable to a fine of not less than two hundred rupees and of not more than five thousand rupees, or to imprisonment of either description for a term of not less than three months and of not more than five years, or to both such fine and imprisonment.
(2) Where the punishment imposed on the master of a ship or the captain of an aircraft for an offence under sub-section (1) consists of or includes a fine and the whole or a part of the fine remains unpaid within seven days from the date of the imposition of the fine, the court which imposed the fine may direct the amount remaining unpaid to be levied by the distress and sale of that ship or aircraft, as the case may be.
(3) Where proceedings have been instituted in a court against the master of a ship or the captain of an aircraft for an offence under sub-section (1), clearance outwards of that ship or aircraft, as the case may be, may be refused until the conclusion of such proceedings or until the fine, if any, imposed by the court has been paid. *Offence by master of ship or captain of aircraft.*