Now let's say you clock in to your job as Attorney General and you make it known that you think Christianity is the best and other religions are sad and misguided. Then we have a problem.
You have rights as an individual and you have official duties acting as the government but the government does not also receive your rights by proxy.