As Barney taints the water system with a mind-numbing drug, Jim is captured and put on trial, where he must discredit an enemy scientist.