Magistrate under fire for ‘unbecoming behaviour’