It is a clinical diagnosis. MRI is not necessary for the diagnosis but to confirm the compression. If there are no symptoms from trigeminal neuralgia, it may not be important to diagnose it.
There are patients occasionally who have an MRI scan where it looks like their nerves are compressed by blood vessels, but show no symptoms. So they might have trigeminal nerve compression but without the neuralgia.