Argumentum ad legem.
Was slavery moral because slavery was legal?
Apart from that,the device's raison d’etre is committing federal crimes, namely violating the 4th amendment rights of private citizens. Previous case law has found mining historical cell phone location data to be a 4A violation requiring a warrant.