If the party by or for whom the land is claimed in the suit be a minor or insane, such value shall be deemed to be real estate, and be disposed of as the court may consider proper for the benefit of the persons interested therein.