I don't know what kind of dope keyboard PCB designers are on, but here is how I swapped (Right) AltGr and Fn.
This especially makes sense in an international setting that requires frequent AltGr use.
All what is required are a pair of 1N4148 signal diodes, some very thin heat shrink (and lighter or other heat source), a wire cutter and the usual soldering equipment.