Looks like Olivier Martinez is lighting up to take the edge off amid his custody battle with Halle Berry ... because cameras caught him smoking outside court.
TMZ obtained a photo of Halle's ex smoking Monday in the midst of their contentious custody battle over their 13-year-old son Maceo.
Olivier's rocking shades as he smokes, and is sporting a very different expression than his actress ex-wife was as she left the courthouse that day.