Restrictions also created opportunities for entities willing to bypass sanctions by trading discounted Russian oil and reselling it at higher prices.