I would argue that the colonisation of Morocco by France was a net positive event and jump-started them out of the middle ages into an industrialised society.
I fully expect to be downvoted to oblivion for this statement, I would like to express it nevertheless
This is a reason that has been given for centuries to justify invading and occupying countries.
But if you're in favor of colonization then you won't have an issue with this scene. It precisely what I said before: it's ok if Moroccans get invaded and occupied, but french shouldn't, because white/christian/civilized/european/developed/ {insert favorite keyword here}
But actually and tangibly superior, not as was the case with Germany for example, where both countries were in a similar level of evolution
This lasted for a while as the French intentions were pretty ambiguous to the very last minute.
The French are singing this nice liberation / freedom song against the germans. This is nice and all, but they are in freaking occupied Morocco, not France! They continued to occupy it even after the war.
The people that made the movie didn't care about this irony because they didn't consider moroccans to be equal to the french. I get that. What I'm surprised is that people nowadays don't find this scene ridiculous (or at least very ironic). Coming from a colonized country (and being one of those people that weren't considered worthy of having their own country back then), I can't like that scene.