1796. Where one of the parties proves, even after having received the property transferred to him in exchange, that the other party was not the owner of the property, he may not be compelled to deliver the property he had promised in exchange, but only to return the property he has received.