Internal oxidation of 5sp impurities in noble metals