Disclaimer, I am no engineer but why wouldn’t you build in a check position of accelerator pedal to the condition handling logic? What possible reason could there be other than incompetence, expedience or negligence?