(a) (1) Costs shall be allowed to or awarded against the State or one of its agencies or political subdivisions which is a party to an appeal from an executive, administrative, or judicial decision, in the same manner as costs are allowed to or awarded against a private litigant.
(2) The State, its agency, or the political subdivision shall pay the costs awarded against it.
(b) When notified by the Attorney General, the political subdivision in which a criminal case originated shall pay immediately the costs incurred by the State.
(c) If a defendant against whom costs are assessed in a criminal appeal fails to pay the costs to the political subdivision in which the case originated, the State’s Attorney for that political subdivision shall take the necessary steps to recover them.