Four people standing trial in a Moscow court were killed on Tuesday in a gunfight that broke out in the court building, a lawyer for the defendants sid.