By Inti Landauro

PARIS--France's Total SA (TOT) Friday said it sold its 16.67% minority stake in the Schwet refinery in Germany to Russian oil company Rosneft (ROSN.MZ) for $300 million, as part of a broader asset-sale program in response to the oil price collapse.

Total said the sale also reflects its plan to divest refining activities and focus on oil and gas extraction.

Roseneft already indirectly controlled a 18.75% stake in the Schwedt refinery.

Royal Dutch Shell (RDSA.LN), BP PLC (BP) and ENI Spa (ENI.MI) also own minority stakes in the refinery.

-Write to Inti Landauro at inti.landauro@wsj.com