I suspect that this is the Mexican perspective, as taught in their schools. Can someone confirm this?
Regardless, this seems to be a gross twisting of an historical event. These men where heros who gave their lives fighting against an imperial military power.
Sounds like the Japanese history books that gloss over Japan's actions in WW2 but hammer away at the US for dropping the atomic bombs on Hiroshima and Nagasaki. I know that most countries try to paint themselves in the best possible light, but such blatant actions are just stupid.