Ernst & Young will be legally barred from competing with the consulting giant created by the sale of its consultancy arm to Cap Gemini for five years, it emerged today.