There are times when we need to use the admin access to execute tasks. For example you want to call admin URLs etc.
There is a simple way to do that, you need to change the current store to admin store.
Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);