Items in MMORPGs have their own ID code so you can say that they could find out the code of the "illegal" item, then run a search in the records that involves that ID code, then see if the transaction is a trade with cegel or a trade with an item. So that way, they can restore the item using its own ID code/number.