(a) Violations shall be punished in accordance with section 1-9. These penalties do not apply to failure to compensate the franchisee for provided solid waste collection services (section 34-26(b)) or for nonpayment of any debt. (b) In the sound discretion of a court in which conviction is obtained, the person may be directed to pick up and remove from any public street or highway or public right-of-way, for a distance not to exceed one mile, any litter deposited thereon by anyone else prior to the date of the execution of sentence (c) In the sound discretion of the judge of a court in which conviction is obtained, the person may be directed to pick up and remove from any public beach, public park, private right-of-way, or, with the prior permission of the legal owner or tenant in lawful possession of such property, any private property upon which it can be established by competent evidence that he has deposited litter, and any and all litter deposited thereon by anyone prior to the date of execution of sentence.