As DDT's link stated, the Vatican is a sovereign state with it's own government and is recognized by the world. Their sovereignity is such that even Hitler feared crossing that white line painted on the plaza cobblestones.