An office vacant by law, which may still be possessed illegitimately by someone, can be conferred provided that it has been declared properly that the possession is not legitimate and mention of this declaration is made in the letter of conferral.
Source: Code of Canon Law (Vatican.va)