I think it's reductive to say it's political. Trek at its best asks philosophical questions and explores the arguments. At its worst there's the "warp travel causes pollution, let's implement a speed limit" episode. Sure, you can reduce the Cardassians to being bad mid century Europeans. But you can also think of them as ruthlessly following the standards of utilitarianism. (Also bad) Saying it's just politics is lazy.