As nouns the difference between courtier and guard
is that
courtier is a person in attendance at a royal court while
guard is a person who, or thing that, protects or watches over something.
As a verb guard is
to protect from danger; to secure against surprise, attack, or injury; to keep in safety; to defend.