title: Switching theme through code Wordpress
body: <p>Is it possible to switch the Wordpress theme programmaticly? For example when there is a certain browser (found a plugin to detect that) that another theme is used?</p>
  
  <p>I want to be able to give outdated browsers (IE7 and lower, lower than Saf and FF 3 e.d.) and mobile browsers a different theme than the other browsers.</p>
  
  <p>I found the method switch_theme however that does not do the thing I expect (I get an blank error when I call this in functions.php) like </p>
  
  <p><code>switch_theme('twentyten', 'stylesheet');</code></p>
  
  <p>Or am I using this method wrong?</p>