48
It will cause problems if cache is enabled.
Cached is checked in Xoops header.php partially depending on $xoopsOption['template_main'].
Thus if $xoopsOption['template_main'] is assigned after header.php, cache will not be checked correctly.
Cache mechanism is changed in X3 though.