GGPMW
I guess it depends when they called ATC. Assuming Aviate, Navigate then Communicate perhaps there was no vibration or fire warning when they made the call. Only a thought.
Not sure about the use of Pan Pan in spain. It's possible that the tower saw the fire so they appreciated the urgency of the situation.
SW