legally it is a state....But it is just a city, you can't compare a city that has banks and some trade with a country that has power generation, farmer, trains, mountains, regional differences...with something slightly bigger than the Vatican .....That doesn't make sense. it is 1/700 in size of Thailand.
It is half the size of Bangkok, so it is not even a big city by Asians standards