Practical gifts are another great way to be thoughtful, and they work for anything from birthdays to dinner-party gifts.
If you desire information on some point of law, you are not likely to ponder over the ponderous tomes of legal writers in order to obtain the knowledge you seek, by your own unaided efforts.
A judge can't have any preferred outcome in any particular case. The judge's only obligation - and it's a solemn obligation - is to the rule of law.