Cortes refers to a formal gathering of nobles or representatives to discuss important national matters, especially in historical contexts involving political decisions and legislation. This was an important institution in the Middle Ages, especially in countries such as Spain and Portugal, where it was a precursor to the nationalization of these countries.