The Schleswig-Holstein data protection authority lost a case against Facebook in 2013 because the court ruled that Germany didn't have jurisdiction. However, the Google Spain case last year changed that pretty decisively. It's difficult to see (after Google lost before the CJEU) why Germany should not have jurisdiction in this case.
Facebook has offices in London and Hamburg so "operating out of Ireland" is a bit of a stretch that seems to work with tax authorities, but may not work with other law enforcement.
Alternatively, they can try to hit Facebook's ad sales in Germany, but that's likely to run into common market rules around trade barriers.
Anyway, does Facebook actually enforce this? I have never shown any ID to Facebook, and I see plenty of people not using their real names (typically they use derivatives or add a screenname as a middle name, rather than being totally pseudonymous).
The result of the real name policy, outside of taking away individual privacy, has been the shutting down of accounts, forcing people to provide identifacation, phone numbers, etc, to prove you are you, and insisting that the name matches the legal name. Some people never really seem to be able to unlock the original account (or don't want to give facebook ID)
Around a year ago, many of my friends were in a "Gay Pride 2014 parade" group. Over two or three days, everyone in that group with a fake-looking name was reported. A little later, everyone who had 'liked' a local gay nightclub page was reported.
The obvious conclusion was someone with an agenda was searching particular groups for people to report.
> How can a government have jurisdiction over this?
Because the government can decide that demanding a driver's license is illegal because it is an unreasonable burden on users, simple as that. German law states it must be possible to use a service anonymously or pseudonymously "if it is technically possible and reasonable". Whether it is reasonable in this particular case is for the courts to decide. (cf. Telemediengesetz, http://www.cgerli.org/index.php?id=51&tx_vmdocumentsearch_pi... )