Berry's lawyer and Aubry were in court to settle a disagreement over the six-year-old child's hair as the actress claimed the French-Canadian model, who is white, was trying to make Nahla appear less African-American.
The judge ruled out that from now on both Berry and Aubry are barred from altering Nahla's hair, reported TMZ.
The bickering exes share the custody of Nahla post their split in 2010.
Berry is currently married to French actor Olivier Martinez and the couple has a son, Maceo.