I get why you do so, but the European Union is always shortened to EU, not UE.
It would be as if I wrote a sentence, "The EWG was created by the treaty of Rome in 1957".
What is EWG? Oh yes its the German abbreviation for the EEC. But we're writing in English?