A Bolivian court has sentenced ex-president Gonzalo Sanchez de Lozada in absentia to six years and three months in prison for handing out dozens of oil contracts without parliamentary approval, the justice ministry said Tuesday.