Schools take state to court