Of course, some of those devices get through, or are carried in by tourists, or are enabled by enthusiasts who load the non-China firmware. This seems to be understood. The Chinese are smart enough, one presumes, to know that actual state-level competitors can get accurate (in the chosen geodetic system) location data without relying on tourists' geotagged Google Photos uploads.
But that does lead to the question, "why, then?" -- if your adversaries know your secret, it's probably not worth the effort of protecting, anymore. (And why, in the US, we know about stuff like VENONA now.) The Chinese seem focused on a different threat: they don't care if a few people have good location data, even if some of them work for the US NGA, they just don't want everyone to have that data.
Which is interesting, because it suggests that that they're less concerned about a foreign government with strategic intelligence, than they are their own domestic population.
This isn't about state secrets vs other states; it's about denying their own population a capability that they find valuable, and thus threatening.
Unless of course, if the camera gets too close to (say) a military/civil defense installation (often includes their office buildings), their security will probably do a check or just ask people to leave. They usually setup a sign near by to indicate "No trespassing" and maybe "No photographing" etc, just don't bring the camera over the line (I mean, better stay out completely if it says "No trespassing").
However, for the Camera which have GPS module, you will need additional filing to license your product. So some of the companies just hide the feature.
Clearly it is not "must have GPS removed".
Thanks for the additional info.
When you are a nobody, they wont care. When you are a person of interest this law will be applied to you.
If they want you are just a tourist, otherwise you are a spy who took 5000 photos.