I started looking for the incident I remembered from about 15 year ago and it turns out there have been many people have been arrested and jailed since then. [1]
Linking to google search is not a source. On the first google page, I see zero cases of a foreign citizen getting jailed in Germany for this kind of offense. Detained and fined != in prison.