State judges invited to party it up at a law firm shindig may want to think twice.