Regulation of the principle of humanity in the criminal law and its  implementation at the law enforcement level