Foreign operators are mandated by the EU, they can't be banned. Spain has been one of the first countries to allow foreign high speed operators (unlike other European countries that did attempt to delay their entrance as much as possible
France, for example, has been trying to delay allowing Renfe (Spanish operator) to operate through the country as much as possible, while their public operator SNCF (branded as Ouigo) has been able to operate here since 2021.
I have observed that it is a recurring pattern. I am most aware of the behind the scenes in public education, but I believe it is across the board.
Massive efforts are done to implement reforms to conform to EU standards, believing that that’s how the “superior” EU members do it (Germany, NL, Nordics…). But then I go there and I see that their system has nothing to do with the standards and they are not doing much to conform.
It’s fine, these reforms are often beneficial for Spain, and I do believe that generally being in the EU is a big win-win. Although sometimes it’s just a lot of unnecessary reshuffling at great cost.
A certain segment of the Spanish population really looks up to northern EU countries, or rather they feel a sense of inferiority. In practice there is not all that much to look up to and I believe Spain should be feel more confident. Many great things are prevented by the widespread belief that we are in a shitty country and that everyone is useless, but it is just not true.