Judge lock up sleepy teen on a field trip