Yes, these sorts of things happen in wars. We Brits do it all time - but we pay damages to the innocents that get caught up in it. Not sure you can be at war with people you occupy though. More of an extrajudicial killing gone wrong sort of thing? Better luck in a different court maybe?
Al-Qaida mourns killing of senior commander in Yemen (Reuters)