If you were to tell them that you are a Muslim, they’d have to let you take the classes, or the government will come after them.
If I didn’t have any scruples and was a good liar, it might be worth a try.