Upvote:1
The only thing that matters is the IATA database and this is what they have to say:
- This does not apply to:
- nationals and residents of Andorra and Spain;
- passengers in transit for less than 24 hours.
So you are indeed exempt from all COVID regulations if you leave in less than 24 hours.