You can argue it's unethical but it's not illegal. The police can often obtain a warrant with just a private tip from an anonymous line. I'm sure a neural network match with access logs proving image upload AND a human reviewer confirming it matches CSAM is more than enough for a search & seizure.