That’s my understanding too. Something about Napoleon wanting to be egalitarian. Has the interesting side-effect that France is both the western-most and eastern-most country in the EU.
> In 1801, Louverture issued a constitution for Saint-Domingue [now Haiti] that decreed he would be governor-for-life and called for black autonomy and a sovereign black state. In response, Napoleon Bonaparte dispatched a large expeditionary force of French soldiers and warships to the island, led by Bonaparte's brother-in-law Charles Leclerc, to restore French rule. They were under secret instructions to restore slavery, at least in the formerly Spanish-held part of the island.