A lot of UK keeps have a Press In Queen Marking Cage in their kit.

The cage goes loosely over the Q on the face of the comb. By gently tilting the cage, the Q is retained and workers released.
When there is only the Q and few workers, the cage is pressed slowly and gently into the comb until the Q is immobile in a painting position.
After painting the cage is pulled back slightly to allow the Q to move and the paint to dry.
Finally the cage is removed and the Q is free on the face of the comb.
This gadget is handy for newbees or keeps who do not wish to or cannot hold a Q.