The ruling was included in a government commission report, made public yesterday.
But the remains of the Tsar's son, Alexei and daughter, Maria, were not among the bones found in a shallow burial pit near the Urals city of Yekaterinburg in 1991, said a press release from the commission headed by the Deputy Prime Minister, Yuri Yarov.
The royal family had taken refuge in Yekaterinburg after the 1917 Russian revolution swept the Bolsheviks to power.
They were shot in the cellar of a house in the city and their bodies dumped in a forest pit 20 miles away.
The report said the five skeletons in the pit included that of Anastasia.