Alleged message to Tánaiste said ‘Wouldn’t it be terrible if something had happened to your family?’, court hears