In the event of denied boarding, the airline must first ask for volunteers who are willing to give up their reservation in exchange for certain benefits. You have all the information in: «Air passenger rights: how to make a claim to Aena«.

You have all the information in: "Air passenger rights: how to make a claim to Aena".