I'm a teacher but not in public schools. In my senior year of highschool I suffered from the same 'affliction' as your Bart here. The school
authorities treated it the same way. I was initially given detention, but then I wouldn't turn up for the detention.
Then they tried the other tack and reduced my class load, hoping that I wouldn't find school so annoying. That didn't work, because I got what I
wanted, and also figured that they really didn't think it so important that I be there either, so Iit encouraged me to skip school even more.
Then they suspended me, which was their way of saying, "Dear parent, we have no idea how to control your child and now leave it up to you to deal
with."
Eventually I was expelled and went into the workforce, happy as Larry, ne'er to return.
Not really an encouraging story, I know, but maybe you have to look at prevention rather than cure. Without knowing too much about your situation,
maybe you could try to figure out WHY he doesn't like school and deal with the problem at its root. Nobody ever tried that with me. Beating him into
liking it (metaphorically speaking, of course) will never work, particularly if he thrives off rebellion. You'll probably get a "it sux" answer,
but that's usually not all their is to it.
Just a suggestion.