But nationalism also confirms the legitimacy of those in power over territory and population.