The insertion/substitution of a dopant atom in a compound can alter the symmetry and the space group of the recipient compound. Therefore , the extinction rules which govern the intensities of the peaks can change. After a careful exam of the existence of the two different space groups you have a two fold interpretation. If you find a peak having variable relative intensity ,I/I0, with respect to its normal intensity I0 in a given crystal structure, you can assume both descriptions: the first one that the compound is made of a mixture of two phases (the normal phase with probability P=I/I0 and the other phase with probability 1-P); the second description (more statistical ) tells you that in the crystal structure of the normal phase you have the probability 1-P to find the insertion/substitution atom in each elementary cell.