But by that time , the country had joined the World Trade organization , and the European Union had agreed to open negotiations to admit Poland ( along with the Czech Republic , Hungary , Slovakia , and Slovenia ) into the EU .
The European Union agreed to admit five more countries .