The relative pronoun is a dative object (edge label DA) of the embedded infinitive, and is therefore attached at the VP level.
formalisms such as CCG and TAG are particularly suited to capture the cross-ing dependencies that arise in languages such as Dutch or German, and by choosing an appropriate linguistic representation, some of these problems may be mitigated.