As someone who did not stand up often enough, listen to it. I can barely sit for 15 minutes now without being in excruciating pain. The only chairs I can comfortably sit in are recliners. I’m only 40 now, and my problem started at least a decade ago. It’s common advice for a reason.
The way laws like this tend to be enforced is generally either someone has to report you or you have to cause a problem and then are also retroactively charged for the other infractions. So if you are already doing your best to be safe and not annoying, that’s all you can do. Fly under the radar.