Polish authorities have refused to invite a Russian delegation to a commemoration ceremony marking the anniversary of the outbreak of World War II.

Krzysztof Szczerski, an aide to the Polish president, said on Wednesday in comments carried by the Polish news agency PAP that Russia has not been invited to the events in September this year due to its "aggression in Ukraine."

Russia has been slapped with various international sanctions for its annexation of Ukraine's Crimea in 2014 and ongoing support for separatists in eastern Ukraine.

Russia's Foreign Ministry late on Wednesday said in a statement that it was "bewildered" by the snub and accused the Polish government of rewriting history to suit its political agenda.