Courts understand that they can never be subject matter experts, and give great deference to people who call themselves experts (doctors, etc.) The real failure is the mainstream scientific community's failure to police fields that hold themselves out as being "scientific."[1] The National Academy of Sciences did a paper several years ago, where they took a look at the state of forensic "science" and collectively gasped: https://www.ncjrs.gov/pdffiles1/nij/grants/228091.pdf. But then they kind of just let that go.
If scientists were as politically-involved about forensic science as they are about climate change, we'd see major changes in the system.
[1] Engineers and doctors, in contrast, have done an excellent job policing their fields through their professional organizations.
You can't get another expert to come in and say "bite mark analysis is unreliable." But given the wide variety of individual views among experts, a single opinion by one expert condemning an entire field doesn't carry much weight. In these situations courts look for scientific consensus. The problem is, the scientific community hasn't deigned to establish a concensus as to forensics. Not because they wouldn't mostly agree that it's pseudo-science, but because they don't consider it their responsibility.
Otherwise it will inevitably lead to the use of junk science and to systemic and individual corruption.
In the case of IP addresses, such an arrangement should be structured to advise that a warrant should not be issued unless multiple sources of hard evidence point to a particular location.
The naive part of me still hopes this is just an unintended side effect.
A similar example: the tests used to detect the presence of certain chemical substances ("narcotics field tests") are laughably unreliable[0], but police agencies across the USA continue to use them, and courts continue to accept their results as probable cause.
It is not difficult to explain to someone, in under 5 minutes, why IP addresses are insufficient to determine either identity or location, but the state chooses not the understand this information.
That is its nature, and also the reason to be optimistic that it is subject to deprecation in the information age.
0: https://www.washingtonpost.com/news/the-watch/wp/2015/02/26/...