The agreement is an acknowledgment that Mexico is a key partner in addressing the root causes of the border crisis.