Open beaches ruling may sink high court careers