Persons licensed under this chapter who are employed by a town, city, or county, and who are conducting real estate transactions on behalf of the town, city, or county, may hold active licenses under this chapter, and their designated and managing brokers are not responsible for their real estate transactions on behalf of their town, city, or county employer.