ReplaceWindow() in Python code

In Advanced Emulator Launcher, when moving launchers around it may happen that a category gets empty. In such case, I want to use ReplaceWindow() to change the current ListItem window by the addon Root, since the current window, when rendered again, is empty. I have tried

Code:
xbmc.executebuiltin('ReplaceWindow(Programs,"plugin://plugin.program.advanced.emulator.launcher/")')

and also

Code:
xbmc.executebuiltin('ReplaceWindow(Programs,plugin://plugin.program.advanced.emulator.launcher/)')

but neither works: the listitem windows stays the same and the addon root does not show up. Can ReplaceWindow be used in Python or only in skins? Am I doing something wrong?? HuhHuhHuh