Trump is devious and ruthless but rather naive about political maneuvering.
Peña Nieto can meet Trump, denounce him to his face, then turn around and conduct a cordial meeting with Secretary Clinton a few days later. Trumperati will probably squeal that Peña Nieto is trying to influence the election, but Trump will look like a fool for having initiated the meetings.