Raising safety issues is part of a senior engineer's duties (or any engineer, really).
Since railways through Europe are a state monopoly, it's not like there are tons of people in the industry that do not work for said 'client'. Who is supposed to pull the alarm in this case? No One? That's how you end up with Boeing-adjacent engineering.
The situation is much more stupid than that: there's a set of "private" companies, some of which are substantially owned by states and some are not, all of which are quasi-monopolies.
Since railways through Europe are a state monopoly, it's not like there are tons of people in the industry that do not work for said 'client'. Who is supposed to pull the alarm in this case? No One? That's how you end up with Boeing-adjacent engineering.