It was a vote ... just as Stalin.
Good call as this does mirror the Enabling Act, which allowed Hitler to assume the role as dictator of Germany.