A law firm that fell victim to a scam by a purported overseas client can’t pursue federal wire fraud and RICO claims against its attorney trust depository, Bank of America, a judge says.

Borenstein McConnell & Calpin, a six-lawyer firm in Springfield, accused BofA of wiring $264,100 from its attorney trust account to a “client” in South Korea after assuring the firm that it would not send the money until a check deposited on the client’s behalf cleared.