The ECJ has ruled illegal the requirement Spain's taxman had for their residents to declare any foreign assets of a value bigger than 50.000EUR. I could not find any source in English, so here's a Spanish one https://www.eldiario.es/economia/justicia-europea-ve-ilegal-modelo-720-obliga-residentes-espana-declarar-bienes-extranjero_1_8692550.html
This was a bit of pain in the ass for spanish investors that wanted to use brokers outside Spain (e.g. Degiro), as they risked fines of at least 10.000 EUR per "undeclared piece of data".


