The first rule of good fiction is to make the audience identify with the villain. When it comes to Star Wars, George Lucas couldn't allow us identify with the morality or outlook of the Imperials -- they are, after all, genocidal space Nazis. So he cunningly got us to sympathize with the Imperials on another level: aesthetically.
"...The Empire Strikes Back is heavily indebted to girls, to gays, to drag, to dance, to European traditions of camp and opera and being too much, with its excesses manifesting in spectacular effects, in the availability of male bodies for desire and consumption..."
Rebecca Harrison, "Queer Empire", LA Review of Books, May 21, 2020