A Moscow court sentenced a veteran human rights advocate who spoke out against the military operation in Ukraine to two years and six months in prison.