I would suggest swearing to uphold the Constitution and the Freedoms it provides would trump promising one's Allegiance to an individual. Granted the Monarchy is not what it used to be....but then my Lot has soundly rejected the notion of Royalty and all that imports.
Ours is not a perfect thing but for all its faults....I am far happier living under the Constitution than any other form of government extant.