Lula risks jail in coming weeks after Brazil court ruling