If you're deploying weapons on your own territory to reduce the operational capacity of an invading force then it's by definition defending your country.
If you have a problem w/ this you're going to have to cycle to the next argument because this one is nonsense. NEXT.