Judge wins damages over 'unfit' claim