Michael Masutha, the justice minister, said the government would decide how to proceed, including a possible appeal, after reading the full judgment but indicated it still intended to press ahead with the withdrawal.