I figured I would highlight an Office Space character since it seems to be the theme of the day.
The venerable Richard Riehle played a few characters in Star Trek. He was Batai in Inner Light. He was a doctor in the Eugenics plotline in Enterprise. And he was Seamus in Fair Haven on Voyager.
How is being sent to the brig torture? Nothing she did was cruel. He had food and a bed. He had disobeyed a direct order and received a light punishment.
It's also dependent on what type of moral philosophy you subscribe to. A strict utilitarian will answer differently than someone who practices Kantian deontology.
Now we need a "Yeah....they were in trek" with Lumberg.