In this case it makes Poland and Nazi Germany allies. Remember after all they still had a non-aggression pact until Hitler broke it in 1939 and both would be opposed to communist expansion.
The issue would be the timing and then the western reaction. The basic assumption is that they have...