They can't just block speech using bots as the excuse. It's up to the government officials to provide a channel that allows free speech as the law defines.
I imagine this will more likely raise issue with the use of private social platforms for public statements rather than whether they can block comments.