A Manhattan judge has refused to dismiss a litigation financing company’s suit against a California law firm that defaulted on a credit agreement, rejecting the firm’s claim that the arrangement amounted to illegal fee-sharing.

Supreme Court Justice Shirley Werner Kornreich on Tuesday found that public policy supports the kind of litigation financing agreement at issue in the case.