Oh, and the logistics of international connections work thus: both Iberia and TAM are in the same wing of the terminal, and there is no need for internationally connecting passengers to go through immigration or customs, just security. So it was about a twenty-minute wait after arriving at the gate until boarding began--good connection!