There are many mimic species which can only be distinguished with a spore print -- cubensis has one that's highly toxic. Presumably this confers an evolutionary advantage (spore spreading by critters going for the fun ones), making ML based on visual identification a very bad idea.