The government is an extension of her majesty, and since the Queen can't even enter without prior permission.... though I believe there's some form of power exerted on the City by parliament.
They are governed by the "City of London Corporation" which is much different from the "Mayor of London".
They have their own police force, power stations, elections. Etc;
Unless you have information I don't have.