That disables the location tracking specifically for the purposes of location history, but not any of google’s location tracking for other purposes. Who’s to say whether that other data like “was at X when you opened google maps” ends up in the same location database that these warrants are querying?
https://www.wired.com/story/google-location-tracking-turn-of...