Ministers of Defense and Foreign Affairs agree on border policy