The European Union on Wednesday reached a basic agreement to exclude three key Japan Railway units from the World Trade Organization's government procurement accord, according to an EU diplomatic source.