return type from abstract schema type

If I write a EJB-QL like this: SELECT OBJECT (m) FROM MovieSchema m, then a component interface will be returned. On P408 "As if by magic, the Container knows which interface view to return, local or remote, depending on whether the invocation of the query came from a home or remote interface" Anybody can explain if the query came from home, which one, local or remote, will be returned. Or why does this depend on home interface ? Thanks