The invention relates to a method of producing inorganic nanoparticles with a polar surface,a) providing an inorganic nanoparticle with a coordinated organic ligand to the nanoparticles surface,b) providing a replacement salt comprising a replacement ion and a counterion,c) treating the inorganic nanoparticle with the coordinated organic ligand with the replacement salt in the presence of a chelating agent that complexes the counterion, thereby increasing the replacements ion's reactivity and replacing the organic ligand on the nanoparticle surface by the replacement ion which results in an inorganic nanoparticle with a polar surface; and a kit.