IIRC someone in ancient Rome choked on some fruit, so they tried and convicted the tree of murder and had it chopped down. So there is legal precedent.
I'm sure pretty much any crazy thing has legal precedent somewhere or another. So, we can accept all such precedent and have an incoherent and useless standard of law. Or, we can use good judgment as to what precedent is acceptable.