International groups and cross-border loss relief

If you operate a group company structure and a non-UK subsidiary makes a loss, can you offset it against the profits of a UK-resident company? If you do not know the answer, you are not alone, as this question has bounced around the UK and European courts for over 10 years. But we may now finally have a resolution.