Java script tag injection has nothing to do with Dynatrace tagging (Dynatrace manual or auto tags).
The “X-OneAgent-JS-Injection” response header is present if the service injected JavaScript. But I’m not absolutely sure if this is taken into consideration. I believe there are additional checks as well. Do you really have multiple injections of the RUM JavaScript in your app?