The law specifically state that what is illegal is publishing data identifying a judge ("Les données d'identité des magistrats et des membres du greffe ne peuvent faire l'objet..."), so publishing general or anonymized stats is legal. For stats regarding a judge I guess one would have to rely on the previously available printed format. Why that is I have no idea, the only argument I've seen is some vague reference to protecting againt "judge/lawyer AI", which I can't make sense of in this context (is judge AI even a thing?). This seems to me to be some kind of over-reaction to new tech.
I've come to call these type of laws 'Peak French': unforeseen issue on the horizon? No worries, just lock everything down and pretend the problem is solved.