Sadly, the prosecution often has an unlimited budget for experts and the defendant often has zero. The judge can rule that the state put up some funds for a defense expert, but this is usually a fraction of the cost that the prosecution spend.
Additionally, if you are being defended by a public defender or a cheap defense attorney then they will rarely file a motion for expert fees as they don't have the time to coordinate with an expert and go through the evidence to create a narrative for trial.
Furthermore, lawyers are trained in the law, not in things like forensic science, so if your lawyer knows nothing about the techniques being used to convict you then they won't be able to adequately cross-examine the prosecution's expert nor question their own expert (if they have one).
There's even an obscure article of the law stating that a trial can be adjourned if a witness contradicts a State expert that testified before them.
[0] https://www.justice.gouv.fr/justice-france/justice-penale/pr....