A closely divided California Supreme Court on Thursday limited the protection afforded to legal bills under the attorney-client privilege when those bills are sent to government entities and sought under the state’s Public Records Act.

The court ruled 4-3 that a law firm’s invoices to a government agency are exempt from disclosure only when they pertain to active matters. Just how a big a chink that cuts in the privilege for legal bills generated outside government representation isn’t immediately clear.