I’ve never understood why using a different user agent should make a difference. Ethically, if I can see the data in a web browser, I already have access to it and no one has any business dictating to me the programs I may use to access that data.
If you change your user agent header to avoid blocking, and the blocking is to prevent some harm, however trivial, it’s not hard to fit that into the definition of fraud: misreprenting a fact that the hearer relied on and then was harmed by that reliance [1]. [1]: https://www.law.cornell.edu/wex/fraud
And you have a web page which launches the job. And that web page passes the User-Agent header from the incoming HTTP request as that job parameter.
You call the web page using curl to scrape a site. The batch job sends a curl User-Agent to the site, and the site blocks the request.
Next you try calling the web page using Google Chrome. This time the crawler batch job sends a Google Chrome User-Agent to the site, and the site allows the crawling to happen.
Did you commit fraud in the above scenario? And at which step was the fraud committed?