Many of the largest US companies has local branches in Europe, and twitter is no exception here. In this case they have a branch office in Berlin. Im not a lawyer so Im not sure about the exact details, but if there is local presence then they are subject to the laws of that country like any other company, and enforcement should be similar.