In Robin Hood: Prince of Thieves (1991), Sir Robert of Locksley is found hanging from a gallows—a traditional wooden execution frame, not a cage.
The film may refer to it loosely as a "cage" in dialogue, but the visual and historical reality is a gallows used for public hanging.