e.g. to be convicted of trespassing, it has to be proven you knew you were trespassing, or at least that you reasonably should have known.
So no, you wouldn't be convicted because you accidentally took down your own system, etc.
At the end of the day, regardless of whether the letter of the law will allow it or not, what is clearly being investigated here, is a supposed (and somewhat documented) intent at influencing the French people through a distortion of the Twitter/X algorithm.
Until now, all the "social media" platforms have essentially been regulated like hosting services, under the assumption that they have a fairly neutral stance toward the content they host. Hence they're not directly held responsible for what they display.
But if it turns out their algorithms aren't so neutral, it begs the question of whether they should be regulated like legacy medias, hence be held responsible for what they publish.