Page layouts are used to determine how each page is rendered via the following call: $PAGE->s...
If you are having issues with theme rendering particularly after restoring a site to a new server...