How to open a group in new window in a new space?

OK, I think I understand something about the behavior of this AppleScript code in 3.6.1:

tell current database
    set newWindow to open window for record (get root)
end tell

This seems to open a new window if there is no other window open on a group in that same database in the current Space. If there is a window open on a group, then DEVONthink does not open a new window.

But you gave me an idea. What if instead of root I use something that I rarely open in a separate window, say, the Inbox? That would cause a new window to be opened more reliably, and then we can switch the contents of the window. So that led to the following,

try
	tell application id "DNtp"
		set newWindow to open window for record (get record with uuid "inbox")
		set r to get record with uuid "461D0CBC-612E-4A7C-98F3-9D17499B593D"
		set root of newWindow to r
	end tell
end try

where the UUID is for the specific group I want to open via the keyboard shortcut. Bingo! This now consistently opens a new window, regardless of whether there are other windows anywhere open on the same group.

Thanks!