There was a case a few years ago where a US federal judge refused to outlaw torture in case there was a “24 type situation”. (24 was a popular tv show a few years ago in which the main character regularly tortures people for information, to protect America.)