Sanctioning russia for invading ukraine isn't exactly an arbitrary power trip. Complying with such sanctions is the morally right thing to do here
Issue is raised against the specifics (validity, effectiveness, sense) of possible sanctions.
John parks his car blocking your gate. Sanction A: you paint his car mauve. Sanction B: John's cousin is forbidden providing voluntary work. Sanction A and B are very different and some raise debate more than others.
(If you want a more "actual" example - though besides official governmental actions - there have been pressing debates whether athletes holding some passport can can compete in international games.)