Legal regulation of municipal entities in the sphere of land use and protection