Man facing charges in court starts crying when he recognizes the judge from middle school