http://lema.rae.es/dpd/srv/search?id=ppaxCewVaD6DCIn2uV
Taking the definition of the RAE (Real Spanish Academy, in Spanish) Hyperbaton is the alteration in the order of words, not "inverting two words".
As long I made this poem in Spanish, and translated it, I'm following the rules made in...