US President says: ‘UK is out of line but...I think that one can be worked out. But the European Union, it’s an atrocity what they’ve done’