Features of the legal status of the head of the municipal formation, replacing the post of head of the local administration