sub-legal
a non-illegal form of doing something that is a loophole around the law.
James: "I got a ton of new songs!!!"
Chris:"Dude, how did you get all of that?"
James:"well I got it sorta sub-legally"
Chris:"Dude, how did you get all of that?"
James:"well I got it sorta sub-legally"