'Don't take the law into your own hands' warning to farmers