By representing itself both as an open platform and as a company with progressive values, Twitter has put itself into an awkward in-between spot and is bound to create such controversies.
France, for example, recently passed a law demanding that various illegal content be removed in 1 hour or 24 hours, or face enormous fines: https://www.bbc.com/news/technology-52664609