High court explains ruling on teen tried as adult