I think I'll do the manual test anyway, as I'm pocketing an item when removing it from a container and I don't want it to appear in the room if my inventory is full, as this implies that I've removed it from the container first, but I couldn't remove it from the container because my hands were full. Catch 22.
Er, did I explain that properly?