The measure allows the state-owned oil company , known as Petrobras , to be the sole operator of unexplored offshore oil fields , as well as a 30 percent stake in any joint ventures .