The question is what does it generate currently? Answer:
A record cell [A] containing one instance.
This instance is instance of a funny library cell [B] (with a funny class).
When you recast this funny cell (what you need not do for simulating, since there is an eval proc), you get a record cell [C] with one instance (permuted cell).
That instance is instance of the schematics [D] found in SCLibCMOSB.dale.
Now what happens when the SC system comes? Answer:
It flattens until it finds a $SCPlacableElement property (one of the previous cells carries it, which one I'm not sure, I suspect [B]).
It somehow ask layout of [C], which is $AbutX (!!!) which asks layout of [D], and at that point you get the mask of SCLibCMOSB.dale!