But it did not oder Tavolaro to stop making the figurines, which he says he has been producing for 15 years, judging that there was no "malicious intent" on his part.
Labelled "god" and "godess" the figures, which are filled with ganache, have pink lips and exageratedly large, protruding genitals.
They show "two people of colour in grotesque and obscene attitudes", the court observed, adding that they are an affront to "human dignity, especially that of the African people or people of African descent".
The anti-racist group that brought the case to court, Cran, said the figures were a "reference to stereotypes harking back to colonial imagery" and were offensive to people of African origin.
Tavalaro claimed that dark chocolate was technically necessary to model the figures and that they were caricatures.
Cran president Louis-Georges Trin declared himself "delighted" with the judgement on Thursday.
The court ordered Grasse's town council to pay 1,000 euros in damages to the anti-racist group.