I would think complete automation at both ports would make that process quite efficient. This would be especially so if the overland routes could be improved to the southern border.
That would maximize how much organized crime could steal along the way. LOL.
Mexico is improving the rail lines between the two oceans as a part of the project.