Code of Alabama
Article 4 - Costs and Fines.
Section 15-18-61 - Confession of Judgment by Prosecutor for Costs.

When the costs are imposed on the prosecutor, he may confess judgment for the same, with good and sufficient sureties; and, failing to do so or to pay the same presently, he must be imprisoned in the county jail or sentenced to hard labor for the county for 10 days.