NEW YORK (CBSNewYork/AP) — A judge has ruled that public lewdness charges against a New York City artist will be dismissed, but with certain conditions.

Street artist Andy Golub must wait until sundown before he can slather fully nude models in paint, a Manhattan judge said Thursday.

READ MORE: Storm Watch: Officials Hoping To Avoid Repeat Of Ida With Preparations For Nor'easter

His models can still go topless at any hour that’s legal in New York City.

But they’ll have to keep their G-strings on until dusk and he can’t be rearrested within six months.

READ MORE: NYPD: Man Shot Inside Union Square Subway Station

City attorney Gabrial Taussig told the New York Post that it’s a question of protecting minors from the nudity.

The artist was charged in July after having two models take off all their clothes.

Golub told the Daily News he planned to seek a court order to allow him to resume daylight nude art.

MORE NEWS: Exclusive: CBS2 Cameras On Hand At Unannounced Security Screenings At Troubled New York City High Schools

(TM and Copyright 2011 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2011 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)