Handling template tags in when migrating a theme to a tutor plugin

I tried to convert my theme to a tutor plugin but I came across the following error:

tutortheme/templates/dt_theme/lms/templates/ace_common/edx_ace/common/base_body.html", line 1, in template
    {% load i18n %}
jinja2.exceptions.TemplateSyntaxError: Encountered unknown tag 'load'.

The base_body.html file contains the following:

{% load i18n %}
{% load ace %}

{% get_current_language as LANGUAGE_CODE %}
{% get_current_language_bidi as LANGUAGE_BIDI %}

{# This is preview text that is visible in the inbox view of many email clients but not visible in the actual #}
{# email itself. #}

<div lang="{{ LANGUAGE_CODE|default:"en" }}" style="
    display:none;
    font-size:1px;
    line-height:1px;
    max-height:0px;
    max-width:0px;
    opacity:0;
    overflow:hidden;
    visibility:hidden;
">
    {% block preview_text %}{% endblock %}
</div>

Is there currently a way to get around this? If not, what would a solution look like?