Kuala Lumpur: The fate of a NSW grandmother convicted of drug trafficking in Malaysia will be decided by the country's highest court.

The court will next Tuesday decide whether Sydney woman Maria Elvira Pinto Exposto should be hanged for her crimes, when it rules on her appeal against drug trafficking convictions.

Australian Maria Elvira Pinto Exposto, centre, is escorted during a court hearing in Shah Alam, Malaysia last year. Credit:AP

Her case has won widespread sympathy after judges heard how she was set up through an online boyfriend scam. She had been found not guilty in a lower court but prosecutors appealed the verdict and won, and the mother of four was sentenced to death.

But the final appeal, to be heard in the Federal Court, has been complicated by announced changes in laws governing executions since her conviction in May last year.