One last time....the fact that PA law allows him to use his feelings in judgements & plea deals, a) doesn't make it right, and b) isn't "enshrined in the Constitution"
Taking us back to square 1, where a black judge, facilitated by apparent, and dare I say "obvious" racial overtones, ignored a perfectly reasonable plea arrangement, between the defense & prosecution, for a white defendent. Your "assumptions" of what the Judge may have perceived, is noted. Absense of such, leaves us back at square one, helped validated by the recusal and subsequent judge accepting said plea
The lack of pushing for sanctions, as you opined, being that this was a black Judge, is also duely noted