The effect of localized holes on the long-range antiferromagnetic order in bilayer cuprates is studied, by applying the renormalization group to the appropriate classical non-linear sigma model. The theory accounts quantitatively for the magnetic phase diagram of Ca doped YBa2Cu3O6. 74.72Bk, 75.30.Kz, 75.50.Ee