at that time she was the supposed heiress of castile