In May of 2018 a Hua Hin condo owner was convicted under that law. Since then??? Maybe one other conviction that I know of and that was a short term party house rental in a mooban. Everybody knows it is a law that is not enforced and that there is no legal danger, although it may be against condo regulations.
And, by the way, there is no law against renting a condo for a short time. The renter
of a short term condo has not broken the law no matter how long he rents for.
That said, it is a no brainer. Don't stay where you are not wanted.