If you're so panicked you're flooring the accelerator thinking it's the brake, you might not think of that, and since you've not actually depressed the brake pedal, it wouldn't shift anyway, would it?
If you're truly standing on the brake, then it ought to work, but you might not think of it. I'll bet a lot of people don't usually think of any gears but park, normal forward and reverse.