The raid was the result of the politician (the Innensenator of Hamburg, responsible for the city police) reporting the post to the police. From there they had to investigate (regardless of the NetzDG or any other law governing social media). I agree that the raid was way our of proportion and probably a result of the police trying to please their boss.