The justice ministry says the wording is not worthy of an accountable government but it will oppose a challenge to the ‘mistaken consent’ defence