He doesn't come out and say it, probably to avoid the perception that he's complaining about something he did voluntarily, but reading between the lines that's exactly what's going on.
He points out that standard practice for a simple non-violent misdemeanour would have been dismissal with a slap on the wrist and a tiny bit of public service. The justice system couldn't handle the volume of cases it does if every misdemeanour graffiti case got probation.
Having his file flagged 'do not dismiss' by higher ups at the DA's office and the judge come down abnormally hard on him (more than what the DA was asking for) is almost certainly retaliation for them being aware he was doing it for a story.