The concept of an "illegal war" is something that takes getting used to. On the other hand, the way we use the term now, if Congress did declare war on Mexico in--was it 1849?--does that make it a legal war?
Anyway, the fact that those wars happened at all is what folks like La Voz de Aztlan use for ammunition.