I once had a legal use for my location history that wasn't quite as dramatic. Someone damaged our car while it was parked. When the police asked at what time we arrived, I just pulled up my location history.
I was a bit frustrated when the police wrote down "around 8" instead of 8:14. :)