Budget dispute moves from Capitol to courtroom