Mr Blaikie, however, said the Education Act required children aged 6-16 to attend school, so they were in the lawful custody of their school during teaching hours. The Crown claimed the resource room was locked, but he had found no locking mechanism as described when he inspected it.
"Even if that were so, they were in the lawful custody of the school so they cannot be unlawfully detained. It may be a breach of OSH regulations but nothing more. It was school policy at the time," he said.
Mr Blaikie also questioned the Crown's claim that the boy had gone without lunch, saying he had jumped out a window and was found playing with other children at lunch time. The teacher then ordered him back into the room.
Judge Ronayne reserved his decision.
The defendant will be called again on February 24, and is scheduled to go to jury trial on July 20, with the complainants to give evidence by CCTV.
The Crown is also considering whether to apply to amend the count of kidnapping to a representative charge, meaning it occurred on more than one occasion.