That's unfortunately not true, it's actually the opposite. The EU is bringing in legally mandatory gender quotas for corporate boards right now, and some European countries have had such rules already at the national level.
The US does in fact ban discrimination like that, but the rules weren't enforced (or rather they were enforced in one direction only). The EU has simply changed the rules.
Parent post was talking about employment. Members of the board of directors are not employees. Management is also typically not covered by most employee protections in EU countries.