I think the problem ocours only, if you once switched to ‘manual Network selection’.
Once you did that, the phone stops connecting automatically to a Network, even when you switch the toggle-switch back to ‘automatic’.
The solution is in this thread, you have to resett the ANS settings.
From my point of view, there is a glich in the software with the toggle-switch.
Traveling in Spain as well, I can confirm @Hifox : Choosing networks automatically worked perfectly until on the ferry I decided to pick one network manually to not get that very expensive satellite network from the ship.
Back on the island I set it back to automatic but whenever I was out of reach of the provider I had selected on the ferry, I would get notficiations about lost network frequently, sometimes every few seconds. They also ignored the do not disturb mode…
Resetting the provider settings helped
To be precise: in my experience automatic network selection does work out of the box or after reset of mobile settings. Fairphone 5 will connect to whichever partner networks it finds.
It’s only when one clicks the ANS setting, to actively connect to a different network or even just to check whether it works one cannot get ANS back to work, only by resetting mobile settings.