Lagarde told the court that she had approached the case not with political calculations in mind but had aimed to draw a line under a dispute which in 2005 alone had cost taxpayers 32 million euros in lawyers’ fees.