Where, in any proceedings relating to any of the offences mentioned in Schedule 1 to this Act, the court is satisfied that the attendance before the court of any person under the age of 17 years in respect of whom the offence is alleged to have been committed is not essential to the just hearing of the case, the case may be proceeded with and determined in the absence of that person.