The judge called the case an example of weaponization.