After a bit of playing around, I think this is a template emission bug! I cannot reproduce it, which leads me to think that -allinst might make it work.