Court: judge said that state owns children not parents