Resolve "Do not publish referee messages with internal simulator"

Closes #1686

See merge request main/Sumatra!1448

sumatra-commit: 50a89f3a47cd5135b2656d75814f004d929e44a0
2 jobs for master in 4 minutes and 16 seconds (queued for 4 seconds)