if you’re a prisoner on death row, it’s not exactly like you have zero advanced notice of whats going to happen.
Given that bureaucracy exists, i think it might be prudent to say that you might even have ALL of the advanced notice one could possibly want in that scenario.