How important are ethics in a legal environment?

They are very important.As a legal practitioner you have to have excellent ethics so that you do not compromise your ethical beliefs.