There is a bad const cast here, but seems to work ok in practice. Creating a whole new config would be tricky, though something we should support in the future for other reasons. Pull Request: https://projects.blender.org/blender/blender/pulls/145476