That’s outrageous mate.
As shhmeee says, you could cite GDPR. Not sure how that works with the Courts but if your credit report says who has applied for the CCJ (I’d assume a company) then you can direct a subject access request to them.
Edit: some useful info here. Looks like you can search...