He was taking money from Moscow and Ankara and lying about it.
He knew that such payments and lying made him susceptible to blackmail.
He was acting as APNSA while knowingly being an asset to two foreign governments.
The judge is 100% right here.