Facebook is operating in Germany, among other countries. If they want to earn money in Germany, they need to obey to German laws and regulations, obviously.
With the internet being the poorly regulated series of tubes it is, they argue they're operating and earning money solely in Ireland, not Germany. Whether the judge will be amused by this, we'll see.