x and y claim certain goods from a railway company as rival owners.
x takes delivery by agreeing to compensate the railway company against loss in
case y turns out to be the true owner. What is the nature of the contract?
Support your answer referring to the provisions of the Indian Contract Act, 1872.