That's exactly what tipped the scales. The Soviet betrayal of the non-aggression pact, their march through the Inner Mongolia desert (Which Japanese planners considered impossible, given the lack of logistics infrastructure in it), their blitz through Manchuria, the complete collapse of Japan's positions in it, as well as the Soviet naval invasion of the Sakhalin and Kuril islands was what brought the war to a close. Japan could not continue the war without access to Manchuria, and was really, really not interested in getting occupied by the Soviets.
At any rate, Japan prior to the atomic bombings had two reasons to surrender: the blockade and impending starvation of the Japanese people and the risk of an American invasion of the home islands. The Soviet invasion of Manchuria and the atomic bombings represented two more reasons. The entire weight of circumstances forced Japan to surrender when it did; I think it's very hard to deny that the atomic bombs were not a necessary aspect of that.
That it was the threat of Soviet invasion which really tipped the scales.