The Under-Gifted (1980)

The story centers around a graduating class of “less-gifted” students in a private Versailles high school. Only a miracle has brought the students this far along, and after a practical joke misfires and the whole school is dynamited, the students are in deep trouble. They have to present themselves in court for their punishment and it could not be worse: If they don’t pass their high-school graduation exams, they go to prison!