(1) Whenever under any law in force for the time being a Criminal Court imposes a fine or con, in appeal, revision or otherwise a sentence of fine, or a sentence of which fine confirms is a part, the court may, when passing judgment, order the whole or any part of the fine recovered to be applied: (a) in defraying expenses properly i...