interfacecreate.cpp: downcast needs to be more tolerant