Sentence upheld for Romania prison commander