President Aleksander Kwasniewski of Poland accepted the invitation , but urged Russia to use the anniversary to condemn the 1939 Nazi-Soviet nonaggression pact , which led to the partition of Poland , and the 1945 Yalta conference , which led to the partition of Europe .