That stipulation is in violation of the law, as community colleges are taxpayer-supported and it is illegal to disallow religious writings in such institutions.
This claim doesn't get any less silly with repetition. The school didn't prevent her from writing the paper or keep her from publishing it, passing out copies of it, or doing anything she damn well pleased with it. Her teacher gave her an F for not following instructions. Period.
Next instruction: Write a paper about the media but don't use the word "bias".
The INSTRUCTION itself was illegal.