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
More than seven million people in their 30s and 40s will lose out by £10,000 each under plans to increase the state pension age to 68.
The Duke of Cambridge reveals he often talks to Prince George and Princess Charlotte about their other grandmother.
The Queen asked Harry Herbert about Diana in the weeks before her and Prince Charles' separation because she was so worried about her.