This doesn’t look like concern about the sexual musings of a young woman. It’s a convenient red herring excuse to ban a book on the Holocaust, which in truth is what they really don't want taught.
Apparently fascist political systems don't like fascism actually being studied and understood within those systems.
Texas teacher reportedly fired after reading from Anne Frank's diary to students:
https://www.jta.org/2023/09/19/united-states/texas-teacher-reportedly-fired-after-reading-from-anne-franks-diary-to-students