In the second photo, you can see some of this in action in the context of a Palm Sunday procession in Seville:
I haven't had time to put much research into this yet, but I know we have readers from the region of Seville. If they or anyone else has any historical and liturgical insight to offer, please feel free.