I can't remember who told me, but I recall a story of people working for the federal government declining a cup of coffee when visiting an office for similar reasons.
It's applying the rule beyond reason, but that sure beats the alternative!
I work for a company that takes federal contracts. We're allowed to accept basic coffee, but not doughnuts. I'm serious. And frankly, I don't have any problem with that.
Perhaps the incident I heard of may have involved a fancy coffee, like a latte. ;)
We used to hand around a small basket into which the government people would drop their $10 for lunch... Gave an absurd mental image of an offering basket being passed around a church. The image was probably not helped by the fact that my company was non-profit.
Every employee in an office with contact with federal government officials will fill out a disclosure form every year.
Every official will do the same.
I remember we had to figure out the value of free google lunch because they were not allowed to eat for free.
The federal government employees take this very very seriously.
State, no idea, they all have different rules (but most companies just apply the same "no gifts of any sort" policy to them anyway)