California power regulators unanimously approved Pacific Gas & Electric’s $58 billion plan for getting out of a bankruptcy caused by in a series of deadly wildfires despite ongoing worries about the utility’s ability to safely operate its crumbling electrical grid.

The vote Thursday by California’s Public Utilities Commission came just a few hours after a federal judge ripped the company for continuing to engage in reckless behavior that he believes is endangering even more lives.

A federal trial will determine whether PG&E’s plan also can gain the required approval of a U.S. bankruptcy judge by a June 30 deadline.

(Copyright 2020 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed without permission.)