Originally Posted by
star_world
That's the result that will actually work. What's the alternative, use the expired US passport? There is zero chance the airline will let you leave the US on an expired US passport. Or any expired passport for that matter.
Use the EU passport to leave the US, which will cause no issues at all, and then deal with the situation in Spain while having all of the necessary documentation to prove US citizenship, etc.
^ You will actually get hassled if you try to leave the US on a passport which is within 3 months of expiration.