The decision came following agreements on trade and security between Presidents Donald Trump and Claudia Sheinbaum.