It is sensible to advise people not to get excessively drunk - you're more likely to have an accident of some sort, you're putting your health at risk of alcohol poisoning, you're more likely to be involved in a violent incident - a fight, assault. Loads of reasons not to overdo it.
Where are all the warnings about not drinking too much in case you trip over the kerb into the path of an on-coming car, or not to drink too much because you're much more likely to to be involved in a fight, or not to drink too much because of the number of accidents and deaths on and in water which involve alcohol?
No, none of that. It's just don't drink too much, else it's your own fault for getting raped. Most rapes happen with someone known to the victim, but we don't go round telling women not to have relationships with men, which is more of a risk factor than being drunk (obviously they're not either/or factors.)
Where are the warnings to men advising them not to drink too much, so they can be sure that anyone they're with is capable of consenting, and if it wasn't clear consent, you'll be capable of not proceeding until it is clear consent?
Where's the messages to men that rape is not socially or legally acceptable and if they go ahead, they'll end up ruining their own lives? Oh no, that doesn't ever happen, they just get suspended sentences, if there's any conviction at all. So we carry on blaming the women whose fault it really isn't.
The judge is right that there are some bastards out there who will use alcohol to manipulate women and rape them. You should have an awareness of things like not leaving drinks unattended. But the other risks of alcohol and other situations in which women are raped are both far more likely, yet we still always focus on the women who get drunk, and none of the rest of it.