#0969 Medium history

A priceless painting is sold at auction. The next day, it is sold again at another auction for the same price. The second buyer is not cheated. Both sales are completely legal. How?