Access to embedded webextension from legacy XUL add-on

I have a legacy XUL extension for which I’d like to produce an interim
hybrid version that migrates its prefs. ahead of a full webextension
version.

However, it’s an old-format XUL add-on, so no bootstrap and not using
the SDK API. The examples for creating & accessing an embedded
webextension only cover those two cases (either passing it into the
bootstrap start function or via the SDK’s “require” function).

How can I access the webExtensions object from basic XUL add-on code?