The issue will occur only when adding the block to the pages through Site Studio block element, and not when added through block layout, because the twig_tweak incompatibility is with Site Studio and not Drupal. The drupal_block function defined in Site Studio's TwigExtension is overridden by twig_tweak's drupal_block function.