Hot damn #emacs .
Just when I think I've hit a roadblock and something is truly impossible, you hit me with "no really, I'm just a LISP engine someone implemented a text editor in."
unread-command-events is the nuclear option for forcing code to behave as if you literally invoked it from the keyboard. It pushes a key sequence into emacs's event handler as if the keys were literally typed.
I'm doing black magic with hydras and it's gross but it works. ;)