The Uttarakhand High Court on Tuesday restrained all bar associations of the state from passing resolutions to prevent advocates from representing a person or persons in a criminal case saying all accused have a constitutional right to be defended in court.