I think, you must also set the options template
and stylesheet
, thats all.
I use this via filter to set a theme for testing or on a category, post-type and so on. But you must change the fields in table options for active the theme ready.
I hope this help, i dont tested – only my idea.