Luke Starnes was fired as an Allen County, Indiana, employee after he accepted cookies instead of $5 cash for copies of a divorce decree.
Starnes appealed his dismissal, but a review panel has found the firing justified.
Officials ruled that taking cookies instead of cash was using his county job for personal gain and a violation of the public trust.
The cookies came from a bakery owner.
Starnes argued that he didn't personally accept the cookies and was in another area of the building at the time.
A second employee was fired in the cookie case and a third received a written reprimand.
Starnes has found another job and says the whole thing is "a little ridiculous."