That is correct, but not what the GP meant. If you can model the distribution (e.g. you 'know' that B is 90%) then you can weigh your random guessing such that it is correct in >50% of the cases, even without looking at the case itself (it is still 'random' in that sense)
Extreme case: I can predict whether someone has Ebola without even looking at them with >99.99% accuracy by just guessing "no" every time, since the prevalence of Ebola is >.001%.
Suppose the supreme court has 70% chance of overturning (e.g. because they choose to hear cases that have 'merit'), then an algorithm that guesses 'overturn' 100% will have a 70% accuracy. A random guess that follows the marginal of the target distribution (e.g. guess 70% overturn) also scores >50% (58% to be precise).