"Borders are the worst invention ever made by politicians," Juncker said at the European Forum Alpbach (EFA) in Austria, as quoted by the United Kingdom's ITV news channel.
The forum discussion was focused on the refugee influx that Europe is currently struggling with. The top EU official stressed the necessity of showing solidarity with refugees, especially children, as well as expressing regret at the United Kingdom's decision to leave the European Union.
The remarks come as the leaders of Italy, Germany and France are meeting on Italian island of Ventotene to discuss the future of the European Union in the light of Britain's vote to the leave the bloc. The meeting is being held in preparation for an informal EU summit, which is to be held without Britain in Bratislava, Slovakia on September 16.
Earlier, a French government spokesman said that one of the main topics of discussion would be ensuring security in the European Union, as well as investments and economic growth, the problems of the European youth, cultural cooperation and the transition to renewable energy sources.