Due to the word order freeness of phrases, a given NP in any one position may in principle fulfill different grammatical functions in the sentence as a whole.
grammatical functions need to be explicitly marked in the treebank and correctly assigned during parsing.