In most states you have to follow pretty strict rules around how and what you post in regards to no trespassing signs - and a failure to properly post is an automatic granting of rights to the property. Furthermore they'd likely have trouble actually following the letter of the law given the amount of "unknown" people that need to go in and out of the farm on a daily basis for deliveries/etc.
In other words - if you've got 30 truck drivers a day coming and going, and you haven't given each and every one explicit permission to enter your "private property", you likely have no grounds to sue the person you didn't want there. There is no concept of assumed rights that I can find in Montana law.
http://codes.findlaw.com/mt/title-45-crimes/mt-code-ann-sect...
The Utah Legislature approved a bill in 2012 that made it a class B misdemeanor to trespass on private livestock or poultry operations and record sound or images without the owner's permission.
So this particular law seems like a solution without a problem, given that trespassing for any reason is already illegal.
https://le.utah.gov/xcode/Title76/Chapter6/76-6-S206.html?v=...
Entering property for just any reason doesn't count as trespass... you need to have some sort of malicious intent, and stay despite being reasonably warned (including by signs or a fence) that your presence is not welcome.
It seems to be a common thing in the US. In similar way, IIRC some states have laws which make it a separate crime to use a firearm to murder someone or federal telecommunication law apparently penalizes using telco networks for obscenity and harassment which is something Title II Net Neutrality opponents like to complain about.
And isn't trespass a civil law thing, rather than a criminal law thing? So this law created a criminal component that could be charged.