(a) In any action brought under this chapter, the Court of Appeals for Veterans Claims, to the extent necessary to its decision and when presented, shall
(1) decide all relevant questions of law, interpret constitutional, statutory, and regulatory provisions, and determine the meaning or applicability of the terms of an action of the Secretary;
(2) compel action of the Secretary unlawfully withheld or unreasonably delayed;
(3) hold unlawful and set aside decisions, findings (other than those described in clause (4) of this subsection), conclusions, rules, and regulations issued or adopted by the Secretary, the Board of Veterans Appeals, or the Chairman of the Board found to be
(A) arbitrary, capricious, an abuse of discretion, or otherwise not in accordance with law;
(B) contrary to constitutional right, power, privilege, or immunity;
(C) in excess of statutory jurisdiction, authority, or limitations, or in violation of a statutory right; or
(D) without observance of procedure required by law; and
(4) in the case of a finding of material fact adverse to the claimant made in reaching a decision in a case before the Department with respect to benefits under laws administered by the Secretary, hold unlawful and set aside or reverse such finding if the finding is clearly erroneous.
(b) In making the determinations under subsection (a), the Court shall review the record of proceedings before the Secretary and the Board of Veterans Appeals pursuant to section
7252 (b) of this title and shall
(1) take due account of the Secretarys application of section
5107 (b) of this title; and
(2) take due account of the rule of prejudicial error.