Nations agree to protect marine life on high seas