Entering the waters or airspace of another nation without permission is an act of war. Just being there is an act of war. The escort is the polite way of stating that they are aware they are there and encouraging them to return to areas they are allowed to be. If they refuse to do so then they will be destroyed and having given them time to leave first makes other foreign powers more accepting of the action.
Latest Answers