A young man who was pulled over by police on his way to a party claims he was fined over a little-known offence.