Section 176. An insurance agent or broker who acts in negotiating or renewing or continuing a policy of insurance or an annuity or pure endowment contract issued by a company lawfully doing business in the commonwealth, and who receives any money or substitute for money as a premium for such a policy or contract from the insured or holder thereof, shall be deemed to hold such premium in trust for the company. If he fails to pay the same over to the company after written demand made upon him therefor, less his commission and any deductions to which, by the written consent of the company, he may be entitled, such failure shall be prima facie evidence that he has used or applied the said premium for a purpose other than paying the same over to the company, and upon conviction thereof he shall be guilty of larceny.