Do you actually understand.. words? How is telling the players "either you do this or you will get booked" not literally deciding the outcome?
The only incident I can think of is Luiz Adriano getting banned for one game after scoring against FC Nordsjælland, when Shakhtar Donetsk scored following a dropped ball that everyone assumed Nordsjælland would get back. It raised a lot of debate as you'd think and the rules has been changed since then, as you can see in Laws of the Game. The change is:
In the outline summary of law changes the change is described as
There's no doubt in my mind why this change was made. The old rules were ambiguous because they didn't say anything about the outcome, whereas the new rules very clearly state the the referee cannot decide its outcome.