A California state court judge has granted a request by Facebook Inc. to get information from lawyers for a litigation opponent to probe how confidential company documents ended up in the hands of government investigators and journalists.

San Mateo Superior Court Judge V. Raymond Swope found that Facebook’s lawyers at Durie Tangri had made a preliminary case that the “crime-fraud exception” applies to what would normally be attorney-client privileged communications.