Chevron Corp. will be allowed to bring counterclaims against Patton Boggs in the long-running battle over the legitimacy of a multi-billion dollar environmental judgment against the oil company in Ecuador.

Patton Boggs had sued Chevron in 2012 for execution of a $21.8 million bond, attorney fees, malicious prosecution and unjust enrichment for claims Chevron made against Patton Boggs in the law firm’s representation of Ecuadorian plaintiffs seeking to defend, and collect on the judgment.