Guarding: The Imperial Royal Guard (opposite pic, L-R: Biffy, Mungo, Florence, Ginger and Simpkins) are responsible for the security of the Emperor. They follow him everywhere. Even when he goes to bed. Seriously.
I guess you'd get over the awkwardness after a while.
Security Risks: Pretty much everyone who's not in the Imperial Royal Guard poses some sort of security risk. And they can't be that good, as the Emperor does end up getting hurled into a reactor by Vadar.