The Under-Gifted
Les sous-doués (original)
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!
Starring Daniel Auteuil, Michel Galabru, Maria Pacôme, Philippe Taccini, Hubert Deschamps, Raymond Bussières, Étienne Draber, Tonie Marshall, Richard Bohringer, Françoise Michaud
It's a comedy movie, and has a rating of 6.5 out of 10 from Imdb which is usually fine for this kind of movie.
Watch it here
Not found streaming from Sweden.