Court ruling on barrister misconduct case