{v. phr.} To be on the borderline between legality and illegality. * /The wealthy tycoon sailed close to the wind during Prohibition./
SAIL CLOSE TO THE WIND
Meaning of SAIL CLOSE TO THE WIND in English
Dictionary of English idioms . Словарь английских идиом. 2012