Imagine such a case: A woman walks into a girls bathroom with a machine gun, killing someone.
Note: This is not the only case where we cannot punish the criminal. This would apply, in my opinion, to almost all murder cases ever prosecuted. According to my understanding of Torah law, every single murder case tried in contemporary courts would result in no punishment whatsoever, which is obviously ridiculous.
Due to the twin requirements of a) two valid witnesses and b) proper warning, both of which are incredibly stringent and nearly impossible to fulfill in most practical situations, I would argue that it is near impossible to prosecute anyone for any crime, ever (with the exception of tort law [Nezikin] for which requirement b is generally not required).
Under Jewish law, she cannot be prosecuted due to the fact that there were no valid witnesses, among other things (e.g. lack of warning.)
Assuming that we know for sure that she did it (e.g. cameras saw her leaving the scene covered in blood & with a machine gun) and if she admitted it (note that according to the principle of Ein Adam Meisim Atzmo Rasha [One cannot declare oneself wicked] we would not accept her confession), how would a court deal with this situation?
Would we let her go free to kill again tomorrow? Or are there any possible courses of action the courts can pursue to punish this woman?