While that's a very public reason, IMO, it's a ploy to appeal to the white supremacists. In reality, it's always about the money. Republican donors are happy with the status quo; a modern system of servitude where they pay illegals half wages while charging customers the cost of full wages.
The oddity here, as proved by the Republican Growth & Opportunity Project results is that Hispanics are very conservative; they are religious, family oriented and very traditional. In short, the perfect Republican voter....except with brown skin. The racism inside the Republican Party is what caused the Republican leadership to throw out the results of the G&OP and embrace the white supremacist ideology.
https://www.wsj.com/public/resources/documents/RNCreport03182013.pdf
https://en.wikipedia.org/wiki/Growth_&_Opportunity_Project
The Growth & Opportunity Project, commonly called the RNC autopsy, was a 2013 report created by the Republican National Committee (RNC) following incumbent Democratic President Barack Obama's victory over Republican candidate Mitt Romney in the 2012 United States presidential election. The report proposed reasons for the Republican Party lack of success in recent elections as well as recommendations for future campaigns and the direction of the party....
...The report found that "the perception that the GOP does not care about people is doing great harm to the Party and its candidates on the federal level, especially in presidential years."[1] It emphasized directing messaging toward Hispanic and Latino Americans when considering changing demographics, emphasizing the increasing Hispanic population in the United States and urging the party to limit its rhetoric on immigration policy. It also recommended appealing to younger voters by reducing social conservatism in the party.[3]
Demographics Partners
The report emphasized the importance of appealing to African-American, Latino, Asian, women, gay, and young voters, citing changing demographics and the increased skepticism these groups held toward the Republican Party. It warned that the increasing non-white population in the United States threatened to make elections more difficult for Republicans if the party did not attempt to reach these voters.[2] It proposed a "Growth and Opportunity Inclusion Council" modeled after the New Majority Council implemented by the RNC in 1997.