Curzon line was suggested _during_ the war.
Besides, as I said - Poland had the same rights to these territories, so it was a fair game of whoever captured them first.
And if we're talking about broken agreements - Bolsheviks broke that agreement first.