Not together with the Germans, but after the Germans : on September 17 .
The Poles had the choice : the whole of Poland occupied by Germany, or a partition of Poland .
The Poles had no choice at all. They were invaded by a foreign army on two different sides. I think your view of history is a bit off.