On our site we have a default custom template that we use for almost all pages expert a few special admin pages.
One of the these pages is from the menu item pointed to the protostar template with menu id = 9 but when loading the page it loads our default template with id = 10.
Because of that the page breaks and prevents us from using that page. For some users the page still works and loads the correct template.
This only happens when the user is logged in, but since these pages is only available for administrators we have a big problem.
Any insight why this might happen? Also where is the file where Joomla decides what template to render?