The European Commission has said the bloc will "react firmly and immediately against unjustified barriers".