Some countries don't allow to transect bitcoin or any other crypto currency. This is totally illegal by law in those countries. After invention of bitcoin, A great revolution happened in digital currency. world day by day going to depend on crypto currency for the demand of free currency. If any government of the country ban crypto currency, Still you can transect bitcoin or any other crypto currencies. No one can understand. In this modern world 'Ban' is a valueless word. We are not committing in crime. We just make easy to transect our money.
I don't know which country you are referring to here which bans the crypto and also they will not arrest or take legal action against you if you are found involved in crypto currencies.
Even though it is not ethical or possible to ban crypto, if you are caught using crypto, you will have to face the country's laws for using the illegal mode of payment.