I ran query to do this on all of the pages, so that each template, was changed to the corresponding black and white template. For all the standard pages, this worked fine, however for any different page types (e.g. News or Blog Post) this doesn't seem to work. The id in the column has changed, but in the Kentico dashboard, it shows that it is still the old template. Annoyingly, if I change it in the Kentico dashboard, it then works, even updating the database id if I change it back.
It's definitely something to do with the page type, as making the news page or blog post type 'Behave as menu item' in properties makes it work. This however causes issues with the layout and would require a lot of work to sort out, so isn't an option. Is there anything I'm missing? Or is this a bug?
Any help would be appreciated.