Transitting through Spanish Airport-customs rules

I will be arriving to Barcelona on a flight from the US. 22 hours later I will have to catch my flight to Russia from Barcelona. I have a question regarding my imported goods then.
I am in transit and a resident of Russia. I have a Swedish passport as well, so there is no need for visa. I expect to carry goods with total value of 1000€ for further transportation to Russia. I will have to go through Spanish customs when I arrive in Barcelona.
Are there any solutions in my case? Maybe I could leave my expensive goods at the airport customs office for storing until next day when I fly to Russia, or I can just show the goods again to the customs staff when I am flying out to prove I am exporting the goods outside EU.
What should I do?
Pictures about "Transitting through Spanish Airport-customs rules"



These Countries will DENY ENTRY at Immigration. Vacation Disasters
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Tim Samuel, Tim Samuel, Kampus Production, Kampus Production