The court also directed police to ensure that no violence takes place at the adjacent villages