At the Sala Joan Miró at BCN you are only allowed entry to the lounge 4 hours before your flight unless you have a boarding pass from an incoming flight on the same day. I do not know if the incoming boarding pass has to be one eligible for lounge access at its departure point or not.