spanish investiture debate