§ 11B. The court in which a person is convicted of an offence under this Act may order him to pay to the Secretary of State a sum which appears to the court not to exceed the costs of the investigation which resulted in the conviction."