It's genuinely just a very fancy church that somehow ended up with its own passport office.
Fun fact: Vatican City has the highest per-capita crime rate in the world, almost entirely from tourist pickpocketing.
Two square kilometres of Riviera where everyone pretends it's a proper country because the tax is nice.
Fun fact: Monégasque citizens are banned by law from gambling in Monte Carlo's casinos.