Obeying tyrants as a religious duty

What if the subjects are non-muslims of another soverign state? Can a muslim ruler just go to war with another state to propagate Islam?