If implemented right, the undesirables aren't even aware they're banned; the trolls just don't get fed anymore, and ideally they get bored and move away again.
If you don't want someone on your platform for whatever reason, shadowbanning has proven to be much more effective than regular banning.
I mean I could be shadowbanned on here for all I know, I never check replies to my comments, lol.