The Spanish Football Association was to blame for Real Madrid fielding an ineligible player in the Copa del Rey, club president Florentino Perez says.