Diplomatic Immunity

Oracle Text

Enchant creature

Shroud (A permanent with shroud can't be the target of spells or abilities.)

Enchanted creature has shroud.

Card Rulings

10/4/2004 Shroud does not apply until after it is on the battlefield, so it can be the target of a spell while it is on the stack.