French actor Gérard Depardieu will appear in court in October, prosecutors say.