Judge tells Home Affairs to get house in order, stop wasting taxpayers’ money