Stalin may have agreed to as much at the Tehran Conference but that did not prevent the Soviet Union from establishing puppet states in most of Eastern Europe.
Here is a great answer by u/kieslowskifan