The USSR was also nominally run under laws, which were notionally written and formally adopted by an institution which at least nominally represented and was elected by the people, and no doubt for any particular policy the regime could point to some justification in some provision of the Constitution and laws for the authority to carry out the action.