(a) If any person shall break into or enter or use any building or place while closed under a preliminary injunction granted under the provisions of this subchapter or shall violate any permanent injunction under the provisions of this subchapter, he or she shall be subject to punishment for contempt.
(b) Upon conviction for the contempt, the person shall be guilty of a Class B misdemeanor. The building or place shall be closed and not thereafter used for any purpose whatever for a period of twelve (12) months, except by order of the court having cognizance of the case.