In the case of Paraguay with her neighbor Brazil, the problem was to define whether the Apa or Branco rivers should represent their actual boundary, a persistent issue that had vexed and confused Spain and Portugal in the late 18th century.