The case will likely reach the state Supreme Court, which has a liberal majority.