They are correct. Many verbs act in this way: The wind blew the trees; the trees blew in the wind . There should be no ambiguity in context-- that's why both meanings co-occur-- but if you wish to do so, you will have to add more text.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.