How should the right to trade be balanced against public health concerns in the context of online gaming?

The government told the Supreme Court that the right to trade for online gaming platforms cannot come at the cost of human lives. I want to explore how authorities can balance economic rights with the need to protect people, especially in new technology-driven sectors.