A magistrates' court had erred in deciding that the appropriate mode of trial for a youth charged with robbery was the Crown Court as in the circumstances there was no real prospect of the imposition of a custodial sentence of over two years in length.