In case you are curious about other stuff here’s the section on the crown in the Spanish constitution.

Edit: This is in the Spanish constitution, I thought it wasn’t too clear.