It sure does. Every state has the original authority to protect its borders from an unwanted invasion by foreign nationals. And that includes, among other things, physically forcing them back across the border.