In the months since the U.S. Supreme Court struck down the Consumer Financial Protection Bureau’s structure as unconstitutional, the agency has pressed on in federal courts across the country to salvage cases and prevent the unraveling of pending enforcement actions.

On Thursday, the CFPB faced its latest test in that effort as a federal appeals court in San Francisco heard arguments over whether it should toss the investigative demand that gave rise to the Supreme Court challenge.