Yes it is bitter part of Polish alliance with Napoleon, and one that we are not very proud of. We prefer to talk about those soldiers that had gone to Haitian side and settled there after the war. (What is interesting polish forces that deserted for Haitian side were spared in white people massacres of 1804)
But to French defense i have to say that they chose their fate themselves (Poles)
They refuse to go to service of Kingdom of Etruria - citing their republican convictions, so Nepoleon wanted to remove them from the picture as unreliable -But poles accepted colonial service and preferred them to enrollment into Etrurian army.
On trivia worth noting is that while never leading Polish troops in Santo Domingo - first Pole here was Gen Jablonowski - most senior Afro-Polish (is this right word

in history of Polish armies. He commanded Artibonit Division but he died due to illness before any polish troops arrived, so he commanded only French units and fought against and destroyed Coutreau force.