German self-defense law is even stronger than all those Stand Your Ground laws in the US.
I guess only here law professors can write about the "ignominious/dishonorable flight" when discussing options against an attacker.
"Justice does not have to yield to injustice" is a very common saying.
But even if the law allows you to strike back, it's usually still a good idea to retreat. :-)