Laying down arms as an action is different to being unarmed.
And it was a hypothetical, there are a lot of situations where you can kill unarmed military personnel legally.
You can just bomb military barracks full of sleeping unarmed people legally for example.