The High Court in Manchester has finished hearing evidence in the claim by Lincolnshire's Chief Constable for a judicial review into the decision for him to be suspended earlier this year. Neil Rhodes was removed from his post by the Police and Crime Commissioner Alan Hardwick in February.
Judge Justice Stuart-Smith said the dispute boiled down to "a case of integrity" and adjourned the hearing until tomorrow morning when he plans to give his verdict.
More top news
The 28-year-old's activities were first logged by Canadian authorities after he shared images via social media.
Katie and Ryan Barrett are trying to raise £100,000 to fund experimental brain tumour treatment for their five-year-old twin son Zack.
Her petition is calling to ensure family courts don't allow known abusers to continue having unsafe access to children.