Situation was hopeless so teenage thief preferred to serve security guard in storeroom