When I use the Google Analytics 4 script through Google Tag Manager it sets both the original analytics scripts and the gtag script. Like so: