Prosecutors were ordered to pay $35,000 in court costs to a man who was pepper-sprayed while being wrongly kicked out of a country NSW pub last year.