(DeviceODOMElement) context.
getDeviceRepositoryAccessorManager().
retrievePolicy(deviceName, policyName);
UndoRedoManager undoRedoManager = context.getUndoRedoManager();
undoRedoManager.demarcateUOW();
try {
// It may be the case that the user has chosen to override when
// override was previously selected in which case the resolved policy
// will come from the current device and we must do some special
// processing to handle the standard element that should be present