Because of the war in 1861, the United States was not in a position to enforce the Monroe Doctrine against French imperial designs.
Hey, the guy who led Mexican Forces against the French was a TEXAN, born right there in Goliad, Texas...The only American Born Citizen to have his picture on a 500 dollar peso bill. It’s all about Texas! They are proud of Ignacio Zaragoza. NOW can we celebrate?