Sacramento County Superior Court Judge Raymond Cadei said in a tentative ruling Tuesday that he intends to dismiss the lawsuit by opponents of plans to eventually link Los Angeles and San Francisco with a bullet train.

He plans a hearing on Wednesday before making a final ruling.

The lawsuit aims to block the state from spending about $1.25 billion in bonds sold last week.

Cadei ruled that the state’s plans track what California voters approved in 2008 when they agreed to nearly $10 billion in high-speed rail funding.

The state has won a series of legal battles, allowing the high-speed rail project to continue moving forward even though long-term funding remains uncertain.