I have always obtained a work visa to lawfully enter a foreign country on business when required. I've done this several times.
I have delayed last-minute business trips so that I could get a visa if I didn't already have one. (Many countries offer a multiple-entry visa good for a period such as 6 or 12 months.) I have urged colleagues in similar situations to do the same.
I have traveled abroad dozens of times in the past 10 years and I have never entered a foreign country unlawfully or under false pretense. Never.