The captain of an oil tanker intercepted by the French navy in the Mediterranean Sea is in custody for questioning.