Active magic effects on a creature that's killed with "sethealth 0" are applied
I don't know if this has any deeper meaning or if it's also related to scripting and/or should be replicated, but In Morrowind when you kill a soul trapped Summoned Greater Bonewalker (for example) through the console with "sethealth 0" the soul trap effect gets cleared, and when you close the console the creature dies and the soul isn't captured.
In OpenMW killing the soul trapped Greater Bonewalker with "sethealth 0" through the console captures the soul.