It's an old expression, which means a "city of 40x40 churches", i.e. a city with a lot of churches and cathedrals.