I am obviously not familiar with Smith’s psychological condition. Institutionalizing a person who presents a clear danger to other people if free is a separate issue from criminal punishment and maybe that’s why he remained locked up for so long,
If it wasn’t that he was dangerously insane, well, in my opinion, a 27-year criminal incarceration imposed upon a child is barbaric.