French guy here as well, and this was exactly my reaction. It seemed very exotic, this notion that an employer was allowed to fire you just because a bunch of people on the Internet have started disliking you in a vocal way because of something you said (as an individual, not reflecting your employer's opinion, not illegal).
This feels like the main issue here. Barring substantial improvements in everyone's maturity, you won't be able to prevent random people on the Internet from focusing on you for whatever reason. The actual individual actions that follow, however (the employer arbitrarily sacking you, people refusing you service, people harassing you, etc.) are what crosses the line, in my opinion.