I suppose you're right in a way. The context owner is not supposed to be set by someone other than the context owner. It's a fallback mechanism intended for better compatibility with Mastodon.
When a group is addressed and it is one of the local NodeBB categories, it will assume control
If it is another group that it knows about but isn't same origin to the author, then no category is assumed.