A United Nations judge has been convicted of forcing a young woman to work as a slave.