It depends on the software you choose to work with. Because software packages have legal license and go with the rules of National Commission for Informatics and Liberties. If you work with these software, it is completely legal. *****://localiseruntelephone.fr is one of the legal software to track lost mobile phones.