use deprecated-old-style-context only when a policy is set [thanks elen4]