Anti-theft device for motor vehicle and method of operation of such a device