Regardless of the Brexit referendum in Britain, the European Union is in serious trouble.