In 1995, when Algerian terrorist Khaled Kelkal was intercepted by French soldiers at a bus station, a video was filmed after an initial exchange of gunfire.
After Kelkal was hit, a soldier can be heard yelling: "Finish him! Finish him!"
In that case, the military hierarchy protected the soldiers and there was no prosecution.