Section 5(1)

5. Power of court to require released offenders to pay compensation and costs. (1) The court directing the release of an offender under section 3 or section 4, may, if it thinks fit, make at the same time a further order directing him to pay-
(a) such compensation as the court thinks reasonable for loss or injury caused to any person by the commission of the offence; and
(b) such costs of the proceedings as the court thinks reasonable.