The Government has been accused of breaching the "fundamental rights" of a British grandmother sentenced to death in Indonesia for drug smuggling by refusing to pay for legal representation as she battles for her life.
Two judges at London's High Court are being asked to rule that the Foreign and Commonwealth Office's failure to arrange "an adequate lawyer" for Lindsay Sandiford, 56, from Cheltenham, Gloucestershire, is unlawful.
Sandiford, originally from Redcar, Teesside, was given the death penalty by a court in Bali last week for taking 10.6lb (4.8kg) of cocaine on to the island.
The sentence would see her shot by a firing squad.
She was accused by the court of damaging the image of Bali and received the sentence despite prosecutors only asking for a 15-year jail term.