Dewey and Barclays relationship to be examined in court