It is called a metonymy where you substitute a name that is associated to some other thing instead of mentionning that thing.
Some examples: Wall Street = NY Stock Exchange the White House = US president and his cabinet the Pentagon = US Dept of Defense Downing Street = UK prime minister
https://en.wikipedia.org/wiki/Metonymy Scotland Yard = Greater London Metropolitan Police Tehran = Government/officials of the islamic republic of Iran
As a person who lived for a long time in a political capital I was so frustrated with news articles titled like this.
"[City] decides [XYZ stupid thing]!!!"
No! We in the city didn't decide it - our responsibility is limited to our political representative. Everyone else voted in idiots and sent them here to decide idiot things!
This is a common literary device in wide use everywhere. No one is saying that YOU PERSONALLY did something just because you live in a place. Chill out.
>It is called a metonymy
or called synecdoche (square/rectangle)