The compressibility of a real gas is given by,
Z=1+PBRT−aVRTZ= 1+\frac{PB}{RT}-\frac{a}{VRT}Z=1+RTPB−VRTa
At high T, value of a/VRT decreases
Also at high T, P is high due to which PBRT\frac{PB}{RT}RTPB increases.
The increase in the second compensates the decrease in the first due to which net value of Z>1 .