Easy Peasy.. Just encamp armed National Guard along all stretches of wall being constructed.
Much as we did with the railroads crossing the West 150 years ago...