PM mocked attorney-general’s legal opinion