French were occupied, and had active resistance, with minimal compliance from Occupation regime. Ukraine had volunteer SS divisions, with full throated ideological support of Naziism, ethnic cleansing massacres, and managing extermination camps.
Stalin's invasion of Poland was done under alliance (complicity of action in exchange for their inaction) with UK/France to protect from imminent NAZI/German expansion east of Poland, which still came. If countries making treaties/agreements with Hitler makes them German allies, then the major western European powers were also German allies no matter how fundamentally opposed they and USSR (core German Nazi ideology was anti-communist, with the Jewish problem incidental to they supporting any ideology other than nazi fascist oppression, of which communism was the leading ideological solution at the time) were in opposing/disapproving of Hitler.
The path of USSR/west alliance against Germany was already set, and it is simply pure anti-Russia demonism to continue to revise history today to pretend Nazi Germany and USSR were great friends.