That isn't free speech if it has to abide by the government's laws. That leaves the door open for governments to ban whatever they want and still say their people have free speech because they're free to say whatever isn't banned.
I'm not even saying that is a bad thing, people can choose to run their country however they want. Just don't screw around with definitions and claim speech is free when it isn't.