If one thing runs counter to another, or if one thing is counter to another, the first thing is the opposite of the second thing or conflicts with it. [formal]
Much of the plan runs counter to European agriculture and environmental policy.
The finding ran counter to all expectations.
We do not tolerate any behaviour that is counter to our core value of integrity.