Yep, the quote from the outraged parent contradicts the quote from the kid who was in the class.
It’s not up to me to say which reportage was more correct (my guess is both quotes are real).
Given that it’s shown to have been sourced as a deliberate parody - the answer to your question is “Yes, it was a joke”.
Some people didn’t find it that funny out of context - that’s all.