In a Spain consumed by ambition and power, the future of an empire depends on one woman's state of mind.