Section 11(1)(a) in The Karnataka Treasure Trove Act, 1962
(a)if the finder and the person so claiming have entered into any agreement then in force as to the disposal of the treasure, the treasure shall be disposed of inaccordance with such agreement;