Unless otherwise disposed of prior to a court appearance in the same matter under Supreme Court Rule 529, a person who, after a court appearance in the same matter, is found guilty of or pleads guilty to, including any person receiving a disposition of court supervision, a violation of this Code or a similar provision of a local ordinance shall pay a fine that may not be waived. Nothing in this Section shall prevent the court from ordering that the fine be paid within a specified period of time or in installments under § 5-9-1 of the Unified Code of Corrections.