SAO PAULO, Jan 18 (Reuters) - Brazil's BTG Pactual obtained a court decision overturning part of retailer Americanas SA's protection from creditors, according to court documents seen by Reuters.

The decision of appeal judge Flavio Horta Fernandes reverses a previous order that BTG Pactual return money it received from the company's accounts with the bank to pay for a credit line.

Americanas and BTG Pactual did not immediately comment. (Reporting by Tatiana Bautzer, additional reporting by Carolina Pulice, editing by Chris Reese)