It still restricts access to literature. It is still a ban, and it is a limit of freedom to explore literature.
But I agree with you, different scale of a similar problem.
In high school, I read Vonnegut's Slaughterhouse Five entirely because it was on a banned list. So it can go both ways.
Its not a similar problem. In one case a school board bans books from being in school libraries, in another someone is charged with a sex crime for their literary production. There are magnitudes of difference here.