In brief
In case of disagreement with moderator actions, your options are (and in my opinion should be used in this order, which luckily matches your own described trajectory):
- Custom moderator flag
- Post on meta
- Use the contact form to elevate your case to SO employees.
Note: In the specific case of voting, it's not likely that any of this will have any direct effect, since voting is a personal privilege that can't be removed without suspending the user.
Longer take on the situation
Moderators are not supposed to stop casting close and reopen votes (or any other kind of vote) when they acquire their diamond. That wouldn't be good for curation.
It's expected that they continue casting their votes according to their interpretation of site rules, consensus and policies.
Even when one disagrees with their voting actions, they are still fully entitled to those actions. So as long as there is no blatant abuse of powers, there is little to contest, in the same way we cannot contest regular users votes of any kind with any other tool but our own votes (putting aside voting irregularities).
Moderators will generally abstain from engaging in closing-reopening wars, for example, despite having unlimited votes at their disposal. They'll cast their votes according to their judgement and then leave it up to the community to sort it out. I imagine there will be cases where they cast more than one close/reopen vote, if they deem the circumstances exceptional enough, but that's not the norm.
If you believe a moderator is flat out wrong, acting in a way that's completely contradicts either site's rules, moderation precedent or community consensus; you can bring specific cases to meta, to try to create a firmer consensus around the issues you perceive. Sometimes as a result of this a moderator may decide to change their approach, or other moderators may decide to intervene in the matter.
But maybe the result of the question is not so clear-cut, and a consensus is not built that firmly contradicts the moderator actions (or maybe even supports them); so while this path may not guarantee to get you the results you believe are correct, one way or another it may help to set your expectations for the future.
If, on the other hand, you believe this is simply a case of moderator abuse, don't believe the community equipped to handle it, your options are:
Flag again for mod attention (which you tried, and didn't work, so that avenue is already closed for you on this particular instance)
Use the contact-form to ask the CM team to review the case.
Again, neither of these options is guaranteed to get you the outcome you desire; and in the end, I think it is good to remember that other users (regular users and moderators alike) are free to vote according to what they think is best for the site, and that very few restrictions are put to that right.