This is a common confusion. Aragorn was the famed king of Gondor, while the Iberian kingdom was Aragon. Both parties were aware of this coincedence: we have a journal entry from Aragorn that expresses his anger at receiving mail meant for King Peter IV of Aragon for the umpteenth time.