Our troops were in the country illegally. IF iran had troops fighting in the streets of Kansas, would we bad for killing them?
Thats a dumb question because Iran doesn't invade other countries.
You can say that in all wars the other country's troops are in there illegally.