The consequence is you violated the law, and they can have you at any time, even retroactively, for that.
That they don't is merely a detail. If it really has "no consequence" they should remove it.
And no, Germany does not allow retroactive criminal punishments. That’s more something that happens in Russia, China and probably soon America