The deal to close California's $26 billion budget deficit includes a measure that would allow for offshore oil drilling, drawing allegations that the fiscal crisis was used for a backroom deal following rejection of the idea by state regulators earlier this year.