Built in the 1980s, the submarine is being phased out from the French navy in favour of newer models.