Regarding some legal and ethical aspects concerning the use of artificial intelligence in forensic activities