German Anti-Treaty/Directive Shopping Rule breaches EU law

Why is the German Domestic Anti-Treaty/Directive Shopping Rule in breach of EU law?