Ruling to hit state finances