A man accused of two murders, including a pregnant woman, has interrupted a brief administrative court hearing despite being told not to speak by a magistrate.