Landlord building insurance

Hi I am a landlord. If a tenant has a ccj would this invalidate my building insurance?

I cannot see that it would, but if you are unsure sure, you could read your insurance policy schedule for information.