If the item is active, it is removed from the inventory after its expiration. If the item is not active, it remains in your inventory even if it has expired. It makes no sense to keep expired items, well, if only to make a meaningless gift.
Why is it done?