State waived that immunity which it had enjoyed solely by reason of its sovereign character (see, Weiss v Fote, 7 NY2d 579, 585-586; Bernardine v City of New York, 294 NY 361). While assuming liability under the rules applicable to corporations and individuals for the actions of its officers and employees in the everyday operations of government (see, e.g., Wingerter v State of New York, 79 AD2d 817, affd 58 NY2d 848; McCrink v City of New York, 296 NY 99; Bernardine v City of New York, supra), the State retained its immunity for those governmental actions requiring expert judgment or the exercise of discretion (see, Friedman v State of New York, 67 NY2d 271; Weiss v Fote, supra). This immunity, we have held, is absolute when the action involves the conscious exercise of discretion of a judicial or quasi-judicial nature (see, Tarter v State of New York, 68 NY2d 511, supra; Tango v Tulevech, 61 NY2d 34, supra).
The absolute immunity for quasi-judicial discretionary actions is founded on public policy and is generally said to reflect the value judgment that the public interest in having officials free to exercise their discretion unhampered by the fear of retaliatory lawsuits outweighs the benefits to be had from imposing liability (see, Rottkamp v Young, 21 AD2d 373, 376, affd 15 NY2d 831; Gregoire v Biddle, 177 F2d 579 [2d Cir], cert denied 339 US 949; 2 Harper and James, Law of Torts § 29.10, at 1641). Not all discretionary actions, however, are accorded absolute immunity (see, Tarter v State of New York, supra, at 519).
Whether an action receives only qualified immunity, shielding the government except when there is bad faith or the action taken is without a reasonable basis (see, e.g., Friedman v State of New York, supra, at 283-285; Southworth v State of New York, 62 AD2d 731, affd 47 NY2d 874; Weiss v Fote, supra, at 585, 587; Ufnal v Cattaraugus County, 93 AD2d 521, 524-525) or absolute immunity, where reasonableness or bad faith is irrelevant (see, Tango v Tulevech, supra, at 42), requires an analysis of the functions and duties of the particular governmental official or employee whose conduct is in issue (see, Tarter v State of New York, supra, at 518-519). The question depends not so much on the importance of the actor’s position or its title as on the scope of the delegated discretion and whether the position entails making decisions of a judicial nature — i.e., decisions requiring the application of governing rules to particular facts, an "exercise of reasoned judgment which could typically produce different acceptable results”