Hi!
How would you get inconsistency in GP_Context? Context and its attributes are once set-up on context creation and then never modified again (only clipping may be modified afterwards).
That is not true, context orientation flags (axes_swap, mirror_x and mirro_y) could be modified any time. So the actually inconsistency may arise from changing axes_swap.
Furthermore as it is now, the orientation flags are inicialized to 0 at the time of the context creation and may only be changed later.