"Does it matter?"
Yes. It matters, if you are going to use the term "invasion". Otherwise, they're just armed criminals trying to sneak across the border, and it's not an invasion or an act of war.
Well if they are not Mexican Military then the Mexican Govt. Shouldn't care if they are shot on site. If they are found to be Mexican military - well, we've got a little problem....