I don't know if the guard there works for the town or he is a private security guard. You guys should asked to have the police called and asked them what section of the town code you were violating, specifically what ordinance? Of course, if they were to come out for that, you would want to make sure your vehicles has all their registration documents, inspections. Messing around with Johnny Law is ok if you are respectful, but don't give them a reason to cite you.