I know there were some isolated success stories (not in the top 10), but this is not common, so I wouldn't count on it too much. You probably need to be better than the rest of your class. You probably need to obtain letters of recommendation from current professors, which seems awkward. In fact, don't ask, just go ahead and try.. Just make sure you have a contingency plan (e.g. you take the coursework and research at the top 25 program seriously and feel comfortable working there to the end of degree program if you don't succeed to transfer). Note that in most cases you would have to retake a whole bunch of courses unless you can pass the prelims.