I once tried to set it to one, but it kept going back to 1, so weird!
Seriously though, did you try deleting the desired item from the guard's inventory?
Try deleting the item, instead of setting it to 0.
Also, just an idea I haven't tested in the CS, but all guards use the "Guard" class, so maybe their items are hardwired to the class.