If your government prohibits BTC you can trade them in places where your government is not banned, I do not believe that the government manages all online transactions. And the government can not ban the fake ip to log into the sale.
It wouldn't be in their interest to ban BTC as such. Bitcoin has become widely known and governments had already tried to interfere in the transactions that include Bitcoin. Problem is that they cannot do much and instead of their restrictions they are trying to adapt to the new situations. Governments of each country specifically are earning from the tax provisions that the citizens of the certain country are giving them because of their investment in the crypto. A strongly regulated law that cannot be easily surpassed is regulating the transactions into the FIAT. Even if the Bitcoin was created as anonymous coin it isn't so anonymous with direct transactions that cannot be avoided in the eyes of the governments. Governments won't ban BTC because that is their newly income profit which they have adapted with.