The border can be tightly sealed 24 hours after declaring an invasion and deploying the military to stop it.
With the right to open fire on invaders.