I believe changing the Comma setting in the ini file only affects these exported CSV files and not TO_CSV:
https://zorro-project.com/manual/en/export.htm

So it sounds like the solution is to manually reformat the strings to European format before you issue them to TO_CSV.