The Treasury has defended its devastating inheritance tax raid on farmers in a High Court showdown in London.