You arent reading what i wrote or whats on the WIKI page properly!!
The current gen city is compact, prior to this (esp earlier gens) were subcompacts
Again for clarification
Current City's car length > 4000 which places it in compact category.
I'll post the first few lines of the Wikipedia's City's page:
The first generation Honda City was a subcompact car manufactured by the Japanese manufacturer Honda from 1981. Originally made for the Japanese, European and Australasian markets, the City was retired in 1994 after the second generation.
The nameplate was revived in 1996 for use on a series of compact four-door sedans aimed primarily at developing markets, first mainly sold in Asia outside of Japan but later also in Latin America and Australia.
Please read, carefully, the text in bold. It will help clarify the confusion