Journalists have been banned from Twitter long before Elon turned up with his sink, why the concern now?
If it happened now, Twitter might be able to make the case that the posted materials were illegal (which was basically their stance at the time) and get the EU's blessing.
Otherwise, sure, they'd have the same problem they have today.