In every case of conviction of any person for any felony or misdemeanor, it shall be the duty of the court or magistrate to render judgment for the costs of prosecution against the person convicted and remit the assessment as provided in section 33-157.
Neb. Rev. Stat. §§ 29-2207