One of the cohorts held the daily guard at the imperial palace . One of these cohorts held the daily guard at the imperial palace switching roles in between patrols ( most of the guard in the imperial palace had shifted roles from morning till evening ) .