Presumption and determination of age

17. Where a person, whether charged with an offence or not, is brought before any Court otherwise than for the purpose of giving evidence, and it appears to the Court that he is a child or young person, the Court shall make due inquiry as to the age of that person, and for that purpose shall take such evidence as may be forthcoming at the hearing of the case, but an order or judgment of the Court shall not be invalidated by any subsequent proof that the age of that person has not been correctly stated to the Court, and the age presumed or declared by the Court to be the age of the person so brought before it shall, for the purposes of this Law, be deemed to be the true age of that person, and, where it appears to the Court that the person so brought before it is of the age of sixteen years or upwards, that person shall for the purposes of this Law be deemed not to be a child or young person.