organ of State

means—

a)any department of State or administration in the national, provincial or local sphere of government; and
b)any other functionary or institution exercising a public power or performing a public function in terms of any legislation,

but excluding a court or judicial officer.