It's not really ad hoc. The law is pointless, since dignitaries enjoy the same protection against insults like any other inhabitant of Germany. The law really needs to go and the reason it still existed is because lawmakers usually don't waste time removing laws if they don't hurt anybody.
- - - Updated - - -
Are you two arguing the same? I think you are. You two may want to read each other's posts more thoroughly.