Let’s say you’re the prison. You’re supposed to execute a prisoner tomorrow. You don’t have the drugs to do so.
You could either fail to execute the prisoner, or take a fairly large risk and get illegal methods. Would the prison really lose face if it just said that it didn’t have the means to carry out the execution and thus did not?