The Simpsons
The Boy Who Knew Too Much
S5 E20:
Bart is the only witness when Mayor Quimby's nephew Freddy is falsely accused of assaulting a French butler, but testifying at the trial means admitting that he was skipping school.