For some reason neither of those bad things prevented Lenin and his successors to oppress their own people.
Or restrained them from imperialism.