In what was a complex diplomatic and protocolary arrangement, the two sets of princes and princesses were escorted to the Portugal–Spain border by the two Iberian royal courts and were exchanged on a purpose-built ephemeral pavilion built on a bridge over the Caia River, by the towns of Elvas (on the Portuguese side) and Badajoz (on the Spanish side). There was a great preoccupation with ensuring the ceremonial was perfectly symmetrical so that both kings, John V of Portugal and Philip V of Spain, were given equal precedence. There was also a concern with evoking — and outdoing — the episode on the Isle of Pheasants in which Infanta Mariana Victoria of Spain had originally been betrothed to Louis XV of France (the young Spanish Infanta had been rejected four years later, causing a diplomatic rift between Spain and France).[2]