https://www.outono.net/elentir/2021/10/23/the-spanish-army-r...
> For journeys outside the base, *the Army uses Renfe locomotives*.
which, in my understanding, means that in order to move military materiel (to the borders with France, let's say, or to the closest sea-ports most probably) and tens to hundreds of thousands of mobilised men the Spanish Army does indeed rely on Renfe locomotives, i.e not on their own.