It's a closed platform and there is obvious military application for drones. There are tools that will modify the firmware, so perhaps it is possible for Ukraine to redo the firmware so their drones are not broadcasting unique identifiers so they don't show up on Aeroscope, since that's how the product works.
It's actually an interesting dilemma for the west. DJI drones are a security risk, so how do you counter that threat? One way might be ban DJI drones from military / government use and change procurement to favour open platforms. But if you favour open platforms then you run the risk of bad actors obtaining those same drones and abusing no-fly zone rules, turning them into flying bombs or whatnot.
But since there are already a number of open source drone projects maybe it's time to just accept the risk and embrace the change to open source.