253D . (1) Whenever a criminal court imposes a fine or passes a sentence of which fine forms a part, or the Supreme Court confirms in appeal, revision, or otherwise a sentence of a fine or sentence of which fine forms a part, such court may order the whole or any part of the fine recovered to be applied-
(a) in defraying the expenses properly incurred in the prosecution; or
(b) in compensation for the injury caused by the offence committed where substantial compensation is, in the opinion of the court, recoverable by civil suit.
(2) If the fine is imposed in a case which is subject to appeal, no such payment shall be made before the period allowed for presenting the appeal has elapsed, or, if an appeal be presented, before the decision of the appeal.
(3) At the time of awarding compensation in any subsequent civil suit relating to the same matter, the court shall take into account any sum paid or recovered as compensation under this section. *Power of court to pay expenses or compensation out of fine.*