If the appraisers or jury appointed or impaneled as herein before provided, shall find that the value of the improvements is greater than the value of the rents and damages and waste, then the court shall enter judgment that the successful claimant pay to the clerk of the court for the use of the occupying claimant the full amount of the excess of the value of the improvements over the value of the rents, damages and waste before the writ of ouster shall issue; Provided, That if either party shall deem himself aggrieved by the judgment and shall desire to contest either or both the findings of the court or the appraisement of the appraisers or the jury herein provided for, by appeals or otherwise, to a higher court, and the successful claimant shall execute an undertaking to the occupying claimant in double the amount of the excess in value as found by the appraisers or the jury, with good and sufficient surety to be approved by the clerk of the court, conditioned that he will pay such excess with interest from the date of the judgment, if the judgment be affirmed by the appellate court, then the writ of ouster shall, at the request of the successful claimant issue at once.
Okla. Stat. tit. 12, § 1485