If governments and by extension, courts gets pushed enough, laws about safe harbor means nothing. Laws in general means little in this case.
The pirate bay case in Sweden is the best example of this. The by law required impartial police investigator was hired by one of the parties the day after he finished his work. A several order higher paying job. the exact day after he finished his report on the pirate bay. When the police was asked about it, they said it was "common" practice. Later during the trial, the lawyers requested the investigator as witness (to ask about all this), and the investigator refused to return to Sweden when the court agree to the request. This however had no impact whatsoever on the judgment.
The court judgment is also hilarious funny to read, as it include some golden nuggets of complete unknown laws, not written in the actually law books (reason being, work towards a law counts too in Europe, not just what is written). For example, if you produce a service, you might get hanged for it even if you produce it with perfect fine intentions. What counts is the primary usage of said service, so if you produce a tool, and the prosecutor claims that the primary usage of that tool is crime, you can go down for it as facilitator of crime (generic). Its facts like this, that really would have me worried if I created a program like nmap. Hopefully, prosecutors won't realize this law actually exist.