Manhattan stores’ legal maneuver makes minor theft charges serious crimes punishable by prison time