It decided to invalidate the smallest possible portion of the statute , excising only the viewpoint-based proviso rather than the entire exception of which it is a part .
It invaldated part of the statute because the higher court said it wasn 't valid .