A judge who is otherwise authorized pursuant to section 460.50 or section 460.60 to issue an order of recognizance or bail pending the determination of an appeal, may do so unless the defendant received a class A felony sentence or a sentence for any class B or class C felony offense defined in article one hundred thirty of the penal law committed or attempted to be committed by a person eighteen years of age or older against a person less than eighteen years of age.