The judge in the trial of Tulisa Contostavlos told the jury there were "strong grounds" to believe an undercover reporter had "lied" at a hearing before the trial began.
Judge Alistair McCreath was speaking as he threw out the case at Southwark Crown Court.
The Sun's Mazher Mahmood - known as the 'Fake Sheikh' - had posed as a wealthy film producer when he met Contostavlos at a number of hotels and restaurants.
The former N-Dubz singer strongly denied that she had helped broker a drug deal between Mahmood and her rapper friend Michael Coombs, also known as Mike GLC.
More top news
The new legal framework is set to be tabled in the Dublin Parliament in the autumn.
The Met Office has issued a weather warning for much of England and all of Wales.