If a sovereign government declared bitcoin illegal, it becomes illegal. There is nothing unique about any asset to stop this because the rules are all made up and can change anytime.