The officer threw the girl behind bars to make a lesson of rigor, it was Halloween