Since he cannot be hanged unexpectedly Friday, the sentence will therefore be over, and he is a free man from here on.
Since he cannot be hanged unexpectedly Friday, it therefore means that the judge actually fails in keeping his promise. The sentence will therefore be over, and he is a free man from here on.