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
Britain's biggest auto company Jaguar Land Rover said some European customers are turning their noses up at UK-made vehicles.
Police in San Diego have released two sets of video footage showing the shooting of an unarmed black man by officers.
Mostly dry across the north of the UK today, with spells of sunshine and isolated heavy showers for some.