Not quite what you’re looking for. In Completely disable mailing list mode? I found this
./launcher enter app
rails c
UserOption.update_all(mailing_list_mode: false)
You’d do something similar, like
UserOption.update_all(theme_key: 666)
Which I found by looking in discourse/app/models/user_option.rb.