Remember, he was not charged for 'possession of a weapon' alone. He was charged for possessing a weapon related to terrorism which could have been used for the Mumbai bomb blasts.
The Act is called TADA which was passed by OUR representatives in the Parliament. Then, it was enforceable.