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
Scientists believe they may have found the key to fighting HIV - and it rests in the immune system of llamas.
The United Nations has made a renewed and record-breaking global appeal, after falling well short of its last request for financial help.
It used to be the most important club on the northern variety circuit, but since Bernard Manning's death the club no longer draws the crowds