The ruling has been slammed as "defying the clear wishes of our democratically elected Parliament".