That doesn't make owning a book illegal, it recognizes that it's a crime to show some books to underage children and that includes when stocking a children's library.
> "We were instructed last week that we essentially had three choices as far as our personal libraries that are in our classrooms. 1) We could remove them and completely box them up. 2) We could cover them up with paper or some sort of something. 3) Or they could be entered into a database where the school district has all of the library books, and if the book was in the system, then it could remain on the shelf" - A Teacher
Read option #3. Having to report which books are in the library is not the same as banning books.
Sadly, bad reporting has distorted understanding of the issue. ex: this quote from a misinformed parent.
> "I would not suggest banning books. It’s a slippery slope. This is good literature with value. Please do not ban books!"
Nothing is being banned. That parent can read any books they want with their children. Schools also don't stock Marvel movies in their libraries and nobody claims those are banned - they're just not appropriate for school libraries.