Representative bodies of local self-government in the system of municipal legal relations