Indeed.
It wouldn't matter how they attest that they were representing themselves at the event, whether they were there as an MP or a volunteer for a local organization. The fact that they're a minister of the crown means that when people are approaching them, they need to be following those rules.