Sentencing, Judge Norman Wright told the pair: "This was a flagrant abuse of power and a gross breach of trust."
He added: "The room has been described as a cell but it seems to me it was akin to a prison cell from a third world country, not the home of an 11- or 12-year-old living in this century in this country."
More top news
Cold with further wintry showers Friday night, then turning icy. Some sunshine, especially on Sunday - but sleet, snow & ice Saturday night
Detectives have released CCTV footage of the moment a machete wielding thug wearing a mask jumped over the counter at a bookmakers.
A cold wind. A strong wind. Icy and wintry into the weekend