Skipping out on a class required for graduation is the kind of thing you’d expect from a slumping senior, but not the high school itself.

Students at a high school in Gothenburg, Sweden, were outraged to learn that their school “forgot” to teach them a required religion class—days before the students were about to graduate, according to UPI.com.

Principal Christel Berver of the publicly financed, privately run, free high school said it was all a big misunderstanding. "When you read the law, it can be interpreted that you can switch religion with social science," she told the Local.

It turned out she was wrong—which some of the students had suspected.

"The last two years I've wondered, 'Aren't we supposed to have religion?'" said student Patricia Kjellby to the Local, who now worries that she won't be able to wear the white graduation cap.

The seniors have been given two choices: Use the few days before graduation to make up the work. Or, accept a failing grade and take the class next fall. We’re guessing students will be praying for a miracle.