Primar din Gorj, condamnat la închisoare