Bit of both, how long is right away?. You may get a few seconds of light if that suits your needs.
On a practical basis it doesn't work but partly depends on the type of bulb. Filament lamps will only last seconds, fluorescent will probably blow the inverter instantly or in seconds. Led may run overloaded for some time depending on the chosen current and margin of overload rating of the resistors.
Flux