Example: Marie is Duchess of Lorraine and Queen consort of France. Would her name be "Duchess Marie" or "Queen Marie?"
Follow-up question: could this duality be used to get in Marie's good graces or offend her? For example, you would call her Her Majesty if you wanted to please her or Her Grace if you wanted to offend her?