Federal Government finally prepared for High Court immigration curveball, but can it withstand election fight?