IMO, any confirmed case of “pedal confusion” in a driver should be followed by an irrevocable loss of the driver’s license for life, and a ban on driving anywhere, anywhen.
I would even gladly see an international registry to prevent people like these from moving to other countries and getting driver’s licenses there.
If you cannot tell which pedal is which, and maintain 100% control over which is getting pressed, you are a lethal threat to everyone around you. You cannot be allowed to drive, full stop end of story. There is no reality in which you could ever be “safe” behind the wheel.
And we have similar limitations for other people: those subject to medication-resistent grand mal seizures also cannot drive for much the same reasons, in that there is no way to prevent them from being a lethal threat once operating a vehicle.