EU agrees to close external borders, but fast tracks for goods