I'd wager Mastodon is ready for this. Abhorrent/illegal/spamming/offensive/offending instances can be defederated from to remove liability at a server-level, and users can self-moderate with "block instance" functionality from their client. Both sides are sufficiently equipped to filter their respective feeds.
It's the realm of pure fantasy to envision a world where the EU bans an original community project to force everyone into a Meta-designed fork. Mastodon users should be safe as long as they're free to run their own server and client software.