Actually, UBS has agreed to do this as well as to pay a huge fine.
UBS has closed the bank accounts of US domiciled clients where that account was outside the USA. I know, I was one of them, a legacy from when I worked over in Switzerland.
By law, you have to declare foreign bank accounts every year as well as declare any interest and tax paid on your tax return. If you did this - and I did - then there is absolutely nothing to worry about.