It's not that hard. They give you ID for this. I've travelled between and lived between another country my whole life.
If you have a birth certificate or passport you're good to go. If you don't you're deported, no courts involved. It's been this way all along, in both the USA be Mexico.
