Ethics-competency Evaluations Ford Vs. Wainwright Perry Vs. Louisiana

After reading the three cases (Ford v. Wainwright; Perry v. Louisiana; Singleton v. Norris), and the Code of Ethics, standard 3.04, answer the following:

Is it unethical for a psychologist to perform a competency for execution evaluation? Is it ethical to treat an individual who has been found incompetent for execution in order to restore them to a state where they are competent to be executed?

2 paragraphs