The courts did not return them. The school board did. The same shits that said certain books were pornographic determined that a text (Bible) with worse stuff in it was fine.
According to that school board:
Religious books with gay sex = fine.
Other books with gay characters= not fine