 which, if done in relation to proceedings before a court by a witness in the court, would be contempt of that court, shall be guilty of an offence and shall be liable on summary conviction to a fine not exceeding £000 or to imprisonment for a term not exceeding six months or to both. 0