Rivera, J.
(dissenting). A plea agreement conditioned on defendant’s presentence “interim incarceration” lacks statutory authority and renders the plea invalid. Based on our case law, I disagree with the majority that defendant’s claim is unpre-served for our review, and on the merits I conclude the plea should be vacated.
At the time of his plea agreement, defendant had been incarcerated for six months. In accordance with the terms of the agreement, after defendant pleaded guilty to criminal possession of a weapon in the third degree, a class D felony, and menacing in the second degree, a class A misdemeanor, the court would adjourn his sentencing so that he could complete several conditions, including an additional six months of incarceration. The prosecutor explained to defendant that this would result in an aggregate incarceratory period of “a hard year. ‘Hard,’ meaning a full year in jail.” The other conditions required that upon his release, defendant had to “stay out of trouble” for a year, not be arrested, and also obey the orders of protection entered against him. Defendant would have to appear in court at every adjournment, approximately every three months, for the course of the year. If defendant complied with the terms, the court would allow him to withdraw his guilty plea on the felony charge and sentence him to the lesser offense of the misdemeanor charge alone. If he failed to comply with the plea terms he would be sentenced as a second felony offender to 2 to 4 years’ imprisonment on the felony charge.
The court described the arrangement as “a little unorthodox” and explained to defendant that
“[i]t’s sort of like probation but isn’t probation. In a sense, it’s better than a probationary sentence would be because it’s only — you only have to stay out of trouble for a year.
“On the other hand, it’s worse than a probationary sentence would be because you have to be in jail for a year until you’re released. . . .
“Let me correct one thing I said. I said the - IT’S [sic] sort of like probation but it isn’t because you don’t have a probation officer that you need to report to. There’s not a probation officer who’s going to come to wherever it is you’re living and make bed checks. It’s not a probation officer who you have to tell where it is that you’re living. That’s where you’re living?”
Defendant served the additional six months in jail and was released in accordance with the terms of his plea. On the day of his scheduled sentencing, defendant was arrested. The court subsequently concluded that he violated the terms of the plea, and defendant was sentenced to an indeterminate term of 2 to 4 years on the felony.
Defendant asserts that his plea is invalid because the court lacked authority to impose a presentence condition of incarceration. Defendant may pursue this claim on direct appeal, even though he did not object to the condition or move to withdraw his plea, because our rules of preservation do not apply to claims of unlawful “interim” conditions.
Defendant’s case is procedurally indistinguishable from People v Rodney E. (77 NY2d 672, 673 [1991]) and People v Avery (85 NY2d 503, 504 [1995]), wherein the Court reached the merits of the defendants’ challenges to their respective plea conditions, notwithstanding their failure to object prior to sentencing. Indeed, in describing the proceedings below, the Avery Court noted that the Appellate Division erroneously concluded the issue was unpreserved, citing Rodney E. (Avery, 85 NY2d at 505). Like defendant here, the defendants in Rodney E. and Avery both claimed that the sentencing courts lacked authority to impose presentencing conditions. In Rodney E., the defendant was placed on “interim probation” (77 NY2d at 673), and in Avery the defendant was required to participate in a private drug rehabilitation program before sentencing (85 NY2d at 504). Thus, this Court has previously rejected a preservation barrier to claims that a presentencing condition is illegal, and therefore we may consider defendant’s challenge to the legality of his post-conviction, presentence period of “interim” incarceration.
Turning to the merits, a court has discretion to impose an appropriate sentence and to structure a plea on conditions that “do not violate any statute or contravene public policy” (Avery, 85 NY2d at 507 [citation omitted]). Here, the six months of presentence incarceration lacks a statutory basis, and constitutes a strictly penal sanction unrelated to any legislatively-approved conditions intended to promote a defendant’s lawful conduct and rehabilitation.
Pursuant to CPL 400.10 (4), “[a]fter conviction and prior to sentencing the court may adjourn sentencing to a subsequent date and order the defendant to comply with any of the conditions” set forth in Penal Law § 65.10 (2) (a)-(f) and (1). The presentence incarceration imposed by the court here is not one of the specific conditions provided for in section 65.10 (2) (a)-(f). Those conditions relate to law abiding conduct and rehabilitation. Nor does the presentence incarceration fit within the language of section 65.10 (2) (1), which provides a court with the discretion to require a defendant to “[s]atisfy any other conditions reasonably related to [defendant’s] rehabilitation.” Defendant’s six months in jail was not rehabilitative within the meaning of section 65.10 (2) (1), but rather quintessentially punitive.
The condition imposed on defendant is not authorized under any other provision that might arguably permit incarceration. He was not incarcerated in accordance with Penal Law § 65.10 (2), which allows the court to incarcerate a person who has taken a plea for the limited purpose of providing medical or substance abuse treatment. Further, defendant correctly argues that the condition imposed here does not fit under any version of a “split sentence” because the court imposed an aggregate term of one year of incarceration and a year of conditional discharge, which does not comport with any periods allowed by law. The court could only have sentenced defendant to a maximum of six months and a period of conditional discharge of no less than three years (see Penal Law §§ 60.01 [2] [d]; 65.00 [3] [a] [i]; 65.05 [3] [a]).
Defendant’s presentence confinement was likewise not in accordance with a proper securing order under CPL 510.10 as the Appellate Division determined. That section is not intended to apply to persons, like defendant, held post conviction. CPL 510.10 provides
“[w]hen a principal, whose future court attendance at a criminal action or proceeding is or may be required, initially comes under the control of a court, such court must, by a securing order, either release him on his own recognizance, fix bail or commit him to the custody of the sheriff.”
As the practice commentary states,
“[t]his section is one of several in the CPL establishing the duty of the court to issue a securing order when a principal (as defined in CPL § 500.10[1]) initially comes under its control in a criminal action or proceeding. For a defendant that means upon initial arraignment, unless of course the matter is finally disposed of at that time (see CPL §§ 170.10[7], 180.10[6], 210.15[6])” (Peter Preiser, Practice Commentaries, McKinney’s Cons Laws of NY, CPL 510.10).
The provision applicable to post-conviction confinement is CPL 430.20 (3) (a), which allows for definite or intermittent sentences, “[i]n counties contained within New York City or in any county that has a county department of correction, commitment must be to the custody of the department of correction of such city or county.”
For the reasons I have stated, there is no express statutory authority granting a court the discretion to impose a post-conviction, presentencing term of incarceration like the one imposed here. As a consequence, defendant’s six-month incar-ceratory “interim” condition is illegal. Therefore, I dissent and would reverse the Appellate Division, vacate defendant’s plea, and remit for further proceedings.
Chief Judge DiFiore and Judges Pigott, Abdus-Salaam, Stein, Fahey and Garcia concur; Judge Rivera dissents in an opinion.
Order affirmed, in a memorandum.
. The majority attempts to distinguish Rodney E. and Avery on the superficial ground that the defendants in those cases violated an illegal pre-sentence condition, while here defendant’s sentence is premised on his violation of a lawful no-arrest condition (majority mem at 1101). As illustrated in Rodney E. and Avery the dispositive and prefatory issue is the court’s underlying authority to impose a condition post conviction and before sentencing (Rodney E., 77 NY2d at 673; Avery, 85 NY2d at 505). Therefore, an illegal presentence condition, and its effect on the validity of the plea agreement, does not escape review because defendant complies with the condition.
. Under Penal Law § 65.10 (2) (a)-(f)
“[w]hen imposing a sentence of probation or of conditional discharge, the court shall, as a condition of the sentence, consider restitution or reparation and may, as a condition of the sentence, require that the defendant:
“(a) Avoid injurious or vicious habits;
“(b) Refrain from frequenting unlawful or disreputable places or consorting with disreputable persons;
“(c) Work faithfully at a suitable employment or faithfully pursue a course of study or of vocational training that will equip him for suitable employment;
“(d) Undergo available medical or psychiatric treatment and remain in a specified institution, when required for that purpose; “(e) Participate in an alcohol or substance abuse program or an intervention program approved by the court after consultation with the local probation department having jurisdiction, or such other public or private agency as the court determines to be appropriate;
“(e-1) Participate in a motor vehicle accident prevention course. The court may require such condition where a person has been convicted of a traffic infraction for a violation of article twenty-six of the vehicle and traffic law where the commission of such violation caused the serious physical injury or death of another person. For purposes of this paragraph, the term ‘motor vehicle accident prevention course’ shall mean a motor vehicle accident prevention course approved by the department of motor vehicles pursuant to article twelve-B of the vehicle and traffic law;
“(f) Support his dependents and meet other family responsibilities.”
. Based on my conclusion that the plea should be vacated, I do not address defendant’s claims regarding the Outley hearing and express no opinion on the majority’s, analysis on that matter.