To break the rules and/or law as a matter of convenience in order to get what you want. Done neatly by the UK government breaking International Law in order to get a Brexit deal through.
Dude, you did the dirty on your girlfriend! Yes, but I only did it in a specific and limited way. or;
Do you know you know why I stopped you? Sorry officer, but I was only breaking the law in a very specific and limited way .