Seems like either he wanted to go above and beyond the rules of the courtroom to find out the background story to a case, or he really does want to protect acquaintances either out of morality or partisanship.