James Lawlor can now leave Limerick prison after the judge struck out all charges.