You mean that they had immigration laws back then? If not, then no laws were broken when Europeans first came to North America.
And if the Europeans hadn't come to America then, the Mexicans would have no desire to do so today. They'd be trying to suck off of some other hapless country.
Politically incorrect, but the truth.