The person cannot demolish your compound file a criminal complaint of treaspasing and damage to your property against him. If any person has rightful claim then also he cannot enter and damage your property.under Section 441 of Indian Penal Code, 1860 which defines ‘criminal trespass’ as ‘Whoever enters into or upon property in possession of another with intent to commit an offence or to intimidate, insult or annoy any person in possession of such property, or having lawfully entered and unlawfully remains there.’
Also file for permanent injunction against that person in civil court so that the person cannot enter your property in future.
You can also file a declaratory suit for your title.
Or if the person file any suit against you can defend same on your valid title.