Judges treated the motive, hostility toward people who support Ukraine, as an aggravating circumstance in sentencing the 1987-born man.