I reckon that Dimitri and Gerard might know of each other, since they're only a year apart and both in Slytherin. While Dimitri probably doesn't like that he's a big ol' jerk, he's not all good himself. Plus, Dimitr's father died a few years ago, so he can empathize with Gerard on that account.