He ended his hunger strike 30 days later when Social Development Minister Paula Bennett agreed to hear his concerns face-to-face.
In Kaikohe District Court today, Judge Greg Davis accepted lawyer Steve Nicholson's request for a conviction and discharge.
Kuha had agreed to pay for the windows, had admitted a charge of wilful damage, and had been punished enough by having his personal life dragged through newspapers and TV, he said.
"But it is important to reiterate that to express one's frustration at a government agency in the manner you did is not an appropriate way to conduct yourself."
Judge Davis noted that Kuha's benefit had increased by 41 per cent because he was now receiving his full entitlement.
Afterwards Mr Kuha said he was glad it was over and satisfied he had achieved his goals. Invalids, many worse off than him, no longer had to traipse around town collecting documentation but could deal with Winz by email; and beneficiaries would no longer be denied food grants while waiting to see a budgeter, which meant fewer children would go hungry.
Mr Nicholson said Kuha's circumstances had improved markedly and he had been able to show the minister that Winz staff were not applying the agency's own policies around food grant discretion. The agency had also ignored almost every one of the 21 bullet-points in its list of standards for dealing with clients, he said.