Video’s author, PrismaticaDev suggested me workaround.
It is enough to put this logic into function, and this function can be called from Construction Script.
I don’t like such “cheating”, because I feel that someone introduced this restriction on purpose, but right here, right now - it works for me.