You can’t talk about the Spanish Cortes until the end of the 15th century, when Fernando of Aragon and Isabella of Castile united their possessions into a single Spanish kingdom. But in each of the northern “military-democratic” principalities (Leone, Castile and Aragon), the Cortes of elected deputies were formed early, for example, in León this happened in 1188.
Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.