(a) Upon affirmance of the judgment or decree below or recovery of a larger amount, or upon dismissal of the certiorari for want of prosecution, or for any other cause, the court shall enter judgment for the amount recovered against the principal and the sureties on the prosecution bond, with interest at the rate of six percent (6%) per annum from the date of the judgment or decree below, and all costs.
(b) In all other cases, the judgment of the higher court, if against the party obtaining the certiorari, shall be for the amount of the recovery, with interest and costs, against the principal and sureties to the prosecution bond.