Yes, the implementation is not ideal, and if you write unexpected content in colorThemeInit.vm, you could end-up in the situation you have described.
The question is: what should we do to avoid that?