A method is described for the exact removal of a selected subfragment from a DNA molecule by intrachromosomal recombination between two directly repeated DNA sequences using a rare-cleaving double stranded break inducing DNA endonuclease expressed under control of a micro-spore specific promoter. This method can be applied in a method for the exact exchange of a target DNA fragment for a DNA fragment of interest in plant cells and plants.