MEXICO CITY — Mexico's president said that Donald Trump's proposals represent a threat to the future of his country and that he agreed to a widely criticized meeting with the Republican candidate to open a space for dialogue.

President Enrique Pena Nieto has been ridiculed in his country for inviting Trump, as well as for not confronting him more directly about comments calling migrants from Mexico criminals, drug-runners and "rapists," and Trump's vows to build a border wall and force Mexico to pay for it.

Speaking at a town hall late Thursday where he fielded questions from young people, Pena Nieto sought to defend his decision. He said the easier path would have been to "cross my arms" and do nothing in response to Trump's "affronts, insults and humiliations," but he believed it necessary to open a "space for dialogue" to stress the importance of the U.S.-Mexico relationship.

"What is a fact is that in the face of candidate Trump's postures and positions, which clearly represent a threat to the future of Mexico, it was necessary to talk," Pena Nieto said hours after his annual state-of-the-nation report was delivered to congress. "It was necessary to make him feel and know why Mexico does not accept his positions."

He acknowledged Mexicans' "enormous indignation" over Trump's presence in the country and repeated that he told him in person Mexico would in no way pay for the proposed border wall.

The president came under fire for not responding to Trump's mention of the wall during a joint news conference Wednesday, something he has since sought to correct. Earlier Thursday, after Trump tweeted that Mexico would pay for the wall, Pena Nieto fired back his own tweet saying that would "never" happen.

Pena Nieto also rejected a recent investigative report that found large portions of his law thesis 25 years ago were copied from other sources, although he allowed that some authors were "probably" not cited properly.

"I remember very clearly the studies I carried out, what I researched and what I formulated in my thesis. Nobody can tell me I plagiarized my thesis," the president said. "I may have committed some methodological error, but not with the aim of wanting to make someone else's ideas mine."

Aristegui Noticias' report about the thesis last month was the latest bad news in what analysts say has been a very tough year for Pena Nieto. An Aug. 11 poll by Reforma put his approval rating at about 23 percent, lower than for any Mexican president since the newspaper began conducting the survey 21 years ago.

Homicides are on the rise after falling early in his term. The economy has been struggling due to low oil prices and other factors. The Treasury Department recently lowered Mexico's GDP growth forecast yet again to between 2 percent and 2.6 percent.

There have also been allegations of torture and human rights abuses by police and troops prosecuting Mexico's offensive against the drug cartels, and earlier this year a group of independent experts issued a scathing report discrediting government investigators' account of what happened to 43 students who disappeared in 2014 after being taken by state police.

In his annual state-of-the-nation report, and in a video broadcast before he took questions, Pena Nieto mostly tried to put forth a rosier vision for Mexico.

He praised things such as the use of technology to fight organized crime, several transportation projects, growth in auto manufacturing and a new national anti-corruption system. Officials have now proctored 700,000 evaluation exams for active and aspiring teachers under an education reform that he passed and which continues to inspire unruly protests by dissident teachers.

"In various regions crime continues to be a threat. Corruption and impunity hurt the life of the country, and economic growth is still insufficient," the president continued. "This is what afflicts and affects Mexicans."

Sign up for the NJ1015.com Newsletter

Get the best of NJ1015.com delivered to your inbox every day.

Email

(Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed)