A really excellent, historically-grounded analysis:
Laurent Dubois
"Reversing the damage of the Code Noir demands a better understanding of the widespread and deeply historical French investment in racialized inequality. It also requires a shift in focus from the actions of the French state to the needs of diverse human communities in France’s orbit."