The "if invaded" qualifier is fair, but what I heard from Danish authorities was that they would not wait to be fired upon. They said, if US forces came, then Denmark would "shoot first" regardless of whether the US had fired a shot.
I think you'll find "shoot the invaders during an invasion" is pretty standard policy.
I think you'll find "shoot the invaders during an invasion" is pretty standard policy.