The Marseille prosecutor’s office said the tanker’s captain, an Indian national, was temporarily detained but later released and allowed to return to the ship.