Whether you’re talking about The Crown as the queen, The Whitehouse as the executive branch, or the pen being mightier than the sword, metonymy is a common linguistic device that uses a part as a metaphor for the whole.
What a great word, thanks for sharing!