If an investor purchases the same or a substantially identical security within the 61-day time frame, the IRS effectively ignores the transaction, and the amount of loss is added to the cost of the replacement security. It defers the loss until a future time when the replacement security is sold. The 61-day holding period also applies to the replacement security. The “substantially identical security” is also referred to as the “replacement security” for the original security.
My opinion:
You can buy or sell, so it is not forbidden. Only the taxation goes in another way.
As a non American the IRS is even not interested in me. So the wash sale rule does not apply to me as I am not taxable in the US.