I don't talk philosophy. I only can talk specifics. If one country invaded my country and want my country to stop existing and to stop existing me - so - yes, it is totally ok to kill soldiers of the aggressor country.