What conditions must be met for the perpetrator in two specified cases?
The perpetrator must not have any other means to prevent the danger and the crime must be proportionate to the danger and necessary to repel it.