The first man convicted under the state government's consorting laws has had his conviction overturned, with prosecutors admitting the case against him was inadequate.

Charlie Foster, 21, was jailed for at least nine months for associating with other convicted offenders in the NSW town of Inverell.

The laws were introduced to curtail bikie-related violence in Sydney's west, although Foster has no connections to outlaw motorcycle gangs or organised crime.

Foster's legal aid solicitor had entered pleas of guilty to the charges on Foster's behalf, but a review of the requirements of the legislation following his conviction led to today's appeal.

His barrister, Wayne Baffsky, told Armidale District Court today his client withdrew his plea of guilty to consorting with the trio - his friends and housemates - because the evidence did not support such a conviction.