MIDI PC is supposed to work in that way. When any audio device gets a MIDI PC message, it loads a program/preset. You can already change the MIDI PC mappings to the way you like (eg. PC1 to load preset 10, PC2 to load preset 20). You can send another MIDI CC message to bypass the preset, or just save the preset as bypassed on your pedal, so when you load this preset it will be bypassed.