This can sometimes happen depending on how the company sets up their job listing and targeting for it.
The job itself might be in Germany, but the company might decide to target it to the whole of Europe, for example.
In general, there's several factors which determine what jobs get shown: location, how matched the job is to the person, etc. Sometimes the power of one factor overwhelms the others.
We're not yet at the point where folks can say things like: "I only want to work in country X" or "never show me jobs from country Y". So if you see a job which doesn't match your personal preferences, it's a limitation of the system as is, rather than us trying to present to you bad matches, or a bug in the system.
It's up to the company to configure the targeting for their job listings. They can determine which locations and other factors they want to show jobs ads to. While in the future I hope we'll be able to put similar controls in the hands of the people as well, for the time being, this means that sometimes companies make... interesting targeting choices. But these are almost always going to be less effective than correctly targeted listings, so we don't expect a ton of wrong-country/wrong-language spam from lots of companies (since they'll be paying for tons of useless impressions).
If we end up wrong about that and this starts to be a trend, we want to hear about it so we can revisit those assumptions and fix the issue, so please do keep us posted here on Meta.