on trial on misdemeanor petty theft charges