Triage to high; the work-around should be (but I've not tested it) to set the config for the snap version prior to doing a switch and then the underlying snap won't be changed during the refresh. However, then the charmhub channel won't match the underlying snap version.
Triage to high; the work-around should be (but I've not tested it) to set the config for the snap version prior to doing a switch and then the underlying snap won't be changed during the refresh. However, then the charmhub channel won't match the underlying snap version.