Aristocrats replacing key framework (6)
I believe the answer is:
gantry
'framework' is the definition.
(I know that gantry is a type of framework)
I can't explain the remainder of the clue.
Can you help me to learn more?
(Other definitions for gantry that I've seen before include "Support for a travelling crane" , "Overhead structure for such as crane" , "platform" , "Bridging framework to support crane, signals etc" , "Metal framework for crane, signals, etc" .)