Why is the shim a bad idea? Just because it wasn't in the original design doesn't mean it should be exiled.
But still maybe the shim is still the best economical/engineering solution without costly injection mould redo's.
This.
If the shim provides and acceptable engineering result at a more economical cost than other alternatives, then it's a simple decision.
Such a solution also has a benefit: It allows manufacturing flexibility. Two thicknesses of PCB can be used with the shim included or not, as the case may be. I know this is a rather unlikely scenario, but it also avoids the alternate need for two different selector knobs.
This is, really, no different to "engineering changes" made to other products. Something which happens all the time.