There is no reason I can think of for denying you entry to Spain, other than what @
SFO777 suggests.
What occasionally happens is somebody tries to be clever and goes to the T4S lounge for breakfast and a shower, then decides they want to leave the airport. Once you've passed departure passport control at T4S, you're not supposed to go back landside...