Cristina: FILE - In this Monday, Jan. 11, 2016, file photo, Spain's Princess Cristina arrives at a makeshift courtroom for a corruption trial, in Palma de Mallorca, Spain. A court official says Spain’s Princess Cristina has lost her bid to avoid being tried for tax fraud in a corruption trial that also ensnared her husband and 16 others. The official says a panel of judges rejected Cristina’s argument that she should not be tried because a prosecutor recommended she face at most administrative fines.© AP Photo/Emilio Morenatti, File FILE – In this Monday, Jan. 11, 2016, file photo, Spain’s Princess Cristina arrives at a makeshift courtroom for a corruption trial, in Palma de Mallorca, Spain. A court official says Spain’s Princess Cris… MADRID — Spain’s Princess Cristina has lost a legal battle to avoid being tried for tax fraud and is expected to testify next month in a corruption trial also featuring her husband and 16 other defendants, a panel of judges ruled Friday.

Lawyers for the sister of King Felipe VI, a prosecutor and a state attorney representing Spanish tax authorities earlier this month all said the charges against Cristina should be thrown out because government officials agreed she had committed no crimes and should face at most an administrative fine for tax evasion.

But the judges disagreed, according to a statement released by the court.

That means the 50-year-old Cristina will face two counts of tax fraud carrying a maximum prison sentence of eight years for allegedly failing to declare taxes on personal expenses paid by a real estate company she owned with her husband, Inaki Urdangarin, an Olympic handball medalist turned businessman.

The judges ended up siding with an investigative judge who spent four years probing the case and ruled she could be tried because of evidence presented by private anti-corruption group Manos Limpias (Clean Hands).

The Royal Palace said it had no comment to make beyond reiterating its total respect for the judicial decisions.

Cristina: FILE - In this Monday, Jan. 11, 2016, file photo, Spain's Princess Cristina and her husband Inaki Urdangarin, arrive at a makeshift courtroom for a corruption trial, in Palma de Mallorca, Spain. A court official says Spain’s Princess Cristina has lost her bid to avoid being tried for tax fraud in a corruption trial that also ensnared her husband and 16 others. The official says a panel of judges rejected Cristina’s argument that she should not be tried because a prosecutor recommended she face at most administrative fines.© AP Photo/Emilio Morenatti, File FILE – In this Monday, Jan. 11, 2016, file photo, Spain’s Princess Cristina and her husband Inaki Urdangarin, arrive at a makeshift courtroom for a corruption trial, in Palma de Mallorca, Spain. A court official says Spai… The trial is due to resume Feb. 9 with the accused beginning to testify. Cristina is scheduled to be the last to testify and is expected to do so by Feb. 26.

During the trial, the judges will have to weigh whether the couple criminally abused the Aizoon real estate consulting firm described in court documents as a “front company” to fund luxury vacations, throw parties at their modernist Barcelona mansion and pay for salsa dancing classes.

The trial is the first time that a member of Spain’s royal family has faced criminal charges since the monarchy was restored in 1975.

Urdangarin and others face charges of embezzling up to 6.2 million euros ($6.8 million) from contracts that were allegedly inflated or never honored. The princess’ husband, formerly the Duke of Palma, is accused of using his title to land the deals for the Noos Institute he ran with business partner Diego Torres.

The case is being heard in Palma de Mallorca, the regional capital of Spain’s Balearic Islands, because many of Urdangarin’s business deals under investigation were for the islands.

Cristina denied knowledge of her husband’s activities during a 2014 closed-door court appearance, but the investigative judge decided she could be tried for tax fraud allegedly committed in 2007 and 2008.

Details about the couple’s regal lifestyle that emerged from the pre-trial investigation from 2011-2014 outraged Spaniards as the country teetered on the edge of an economic crisis and the unemployment rate hit 27 percent.