France internationals Franck Ribery and Karim Benzema have been acquitted on charges of soliciting an underage prostitute.