Location Based Security blocking


I am often getting transactions blocked if I turn on Location based security,
for example I am in Spain, Sotogrande - The app shows this location when I make a transaction in a store in the same location which is accepted.
I then go to an ATM at a bank close by the same store. The transaction shows the same location but is blocked by location based security - if I disable the setting in the app then the transaction succeeds.

This has happened several times on both my account and my wife’s account in various locations.