My favourite one was when I disarmed Nere, then picked up his rapier so he couldn't use it...

... Then all the deep gnomes suddenly had the bravado to start a fight with me, whilst I was literally in the middle of freeing them...

At least this particular interaction got patched out.

But yeah, these kinds of things can happen, as you have to literally code in situational awareness (By way of surpressing the standard "React to crime" behaviour when your party is engaged in combat rather than actually making NPC's aware of what is occuring). Which is generally too bothersome to do unless certain situations come up frequently enough to warrant it (Such as the above mentioned "Stealing Nere's (Or any of the Duergar guards) disarmed weapon" scenario aggroing all the non-combative deep gnomes)