As Bart is about to get convicted , Skinner shows up and says that he was accidentally stuck in his garage all week . As Bart is about to get convicted , Skinner shows up and explains that he was accidentally trapped in his garage all week .