Upon an indictment charging a person with an offence of which destruction of property, or wilfully and unlawfully doing any specific damage to property, is an element, the person may be convicted of wilfully and unlawfully damaging the property, or of wilfully and unlawfully damaging the property in any lesser degree, if either of such offences is established by the evidence.