code: def _reconcile_order_and_lags(
      order_list: Optional[List[Any]] = None,
      lags_list: Optional[List[Any]] = None,
  ) -> Tuple[List[int], List[str]]:
      """Reconciles the differences to lags and returns the names
      If order_list is provided, it is converted to lags_list.
      If lags_list is provided, it is uses as is.
      If none are provided, assumes order = [1]
      If both are provided, returns empty lists
  
      Parameters
      ----------
      order_list : Optional[List[Any]], optional
          order of the differences, by default None
      lags_list : Optional[List[Any]], optional
          lags of the differences, by default None
  
      Returns
      -------
      Tuple[List[int], List[str]]
          (1) Reconciled lags_list AND
          (2) Names corresponding to the difference lags
      """
  
      return_lags: List = []
      return_names: List = []
  
      if order_list is not None and lags_list is not None:
          msg = "ERROR: Can not specify both 'order_list' and 'lags_list'. Please specify only one."
          warnings.warn(msg)  # print on screen
          return return_lags, return_names
      elif order_list is not None:
          for order in order_list:
              return_lags.append([1] * order)
              return_names.append(f"Order={order}")
      elif lags_list is not None:
          return_lags = lags_list
          for lags in lags_list:
              return_names.append("Lags=" + str(lags))
      else:
          # order_list is None and lags_list is None
          # Only perform first difference by default
          return_lags.append([1])
          return_names.append("Order=1")
  
      return return_lags, return_names
  
imports: import math
  import re
  import warnings
  from enum import Enum, IntEnum
  from typing import Any, Dict, List, Optional, Tuple
  import numpy
  import pandas
  from pmdarima.arima.utils import ndiffs
  from sktime.param_est.seasonality import SeasonalityACF
  from sktime.transformations.series.difference import Differencer
  from sktime.utils.plotting import plot_series
label_desc: Use image node_id 1 for calling a global function with example usage: _reconcile_order_and_lags(order_list, lags_list) and returns: return_lags,  return_names, return_lags,  return_names