For example

The judge went to considerable lengths to establish the de facto situation.