The judge said that the experience of being locked in a windowless room in "appalling conditions" had taken a physical and psychological toll on the child victim.
Doctors who examined the boy said he was underweight and below average height for his age, and treated him for anaemia.
But Judge Norman Wright said that while the physical effects have been remedied, the psychological harm "will be unknown".
"It is bound, in my judgment, to be profound," he said.
More top news
Prince Harry's girlfriend Meghan Markle was spotted in the stands at the opening ceremony of the Invictus Games in Toronto.
Soul legend Otis Redding led the tributes to the singer who released his debut album just six years ago at the age of 62.
The shadow home secretary will tell the Labour conference the Tories have pandered to anti-immigrant sentiment and set "bogus" targets.