Petrobras has a powerful ally as it sorts out its financial mess