Spain closes border over bug ship