French firm seals train deal amid diplomatic differences