Actually, "truth" in that sense is completely irrelevant in this case.
For example there could have been a discussion of sexual intercourse, and use of the word "f*ck" would have been in violation of school profanity rules.