In a legal proceedings in France, you may ask for the costs reimbursement by the losing party, include the private investigation fees. The judge can decide the reimbursement or not by the losing party. See our article about the possibility to get the investigation fees paid by the other party.