One used to say that one could distinguish a barrister from a solicitor by their location: barristers were in court and solicitors were in the office. This might be an antique distinction.