It is true that in resistance to a suit to protocolize the contract, he may show that for fraud or other cause the contract ought not to be enforced.