—(1) Subject to the provisions of this Code, where any person is, under this Code, for any reason whatsoever, ordered to pay any sum of money by way of compensation, the court making the order may at any time before that sum has been paid in full, in its discretion, do all or any of the following things:
allow and extend time for the payment of that sum;
direct payment to be made of that sum by instalments;
order the attachment of any property, movable or immovable, belonging to the person —
by appointing a receiver; or
by directing any other person who owes money to the person to pay the court the amount of that debt due or accruing or the amount that is sufficient to pay off the compensation sum;
direct that in default of payment of the compensation sum, that person must suffer imprisonment for a certain term, which imprisonment must be consecutive with any other imprisonment to which he may be sentenced or to which he may be liable under a commutation of sentence;
direct that that person be searched, and that any money found on him when so searched or which, in the event of his being committed to prison, may be found on him when taken to prison, shall be applied towards the payment of that sum; the surplus, if any, being returned to him.
(2) Before allowing time for payment of any sum under subsection (1)(a) or directing payment of it to be made by instalments under subsection (1)(b), the court may require that person to execute a bond with or without sureties on condition that he pays that sum or the instalments, as the case may be, on the day or days directed; and if that sum or any instalment is not paid as ordered, then the whole of that sum remaining unpaid becomes due and payable and the court may issue a warrant for the person’s arrest.
(3) Any money found on a person under subsection (1)(e) shall not be so applied if the court is satisfied that the money does not belong to the person on whom it was found.
(4) The term for which the court directs that person to be imprisoned in default of payment of the compensation sum shall not exceed the following scale:
when the money to be paid does not exceed $50, the imprisonment may be for any term not exceeding 2 months;
when the money to be paid exceeds $50 but does not exceed $100, the imprisonment may be for any term not exceeding 4 months;
in any other case, the imprisonment may be for a term not exceeding 6 months.
(5) The imprisonment which the court imposes under this section shall terminate whenever the money is paid or levied by process of law.
(6) If before the end of the period of imprisonment imposed in default of payment of the compensation sum, such a proportion of the money is paid or levied that the time of imprisonment already suffered in default of payment of the compensation sum is at least equivalent to the part of the sum still unpaid, then the imprisonment must end.
(7) If the person fails to pay the court the amount which he is directed to pay under subsection (1)(c)(iii), it shall be recoverable as though it were a judgment debt due to the court.