8If, in a case where the offender is referred back to the court under section 27(4) of this Act, the court decides (contrary to the decision of the panel) that the offender’s compliance with the terms of the contract has, or will have, been such as to justify the conclusion that he has satisfactorily completed the contract, the court shall make an order declaring that the referral order (or each of the referral orders) is discharged.