The European Union has warned Saudi Arabia it will take action at the World Trade Organization , if the kingdom supports a widening Muslim boycott of Danish products .