The declaration comes days after Peru severed diplomatic ties with Mexico - after it granted asylum to a former Peruvian prime minister.