Former president of the Spanish football federation Luis Rubiales attends court in Madrid