A space treaty banning space based weapons is not going to stop the Russian, Chinese, nor the US (or most able nationstates) from building space based weapon platforms nor secretly deploying them either.
Deploying secretly would mean still building carriers, otherwise, the space bases would not be secret.