A Guatemalan court on Wednesday sentenced both former President Otto Perez and his vice president, Roxana Baldetti, to 16 years in prison each in a graft case years after explosive corruption revelations forced the two out of office early and into prison.