I was doing the mission where you need to disguise yourself as a drift soldier, and after I was done with the quest, all enemies were "Friendly" to me. Trenches includes. Picture: It only changed after I got really close to an enemy. But till then I couldn't attack any of them.