TREAT should be journaled into the respective FromElement along with some concept of where it came from, because ultimately that affects its rendering into SQL.
For TREAT in SELECT we may need a wrapper; see SQM-4