Just so. It's never excusable. It just degrades the perpetrator and the men they serve with. Furthermore, of course, when the enemy see what has been done to their fallen they tend to visit the same upon their prisoners - often poor sods who have behaved honorably and are suffering the misfortune of having to pay the debt of others.