Court confirms ATO’s position on foreign income tax offsets