A court's functions do not include moral policing, observed the Supreme Court on Tuesday while setting aside costs earlier imposed on musician Vishal Dadlani and political activist Tehseen Poonawalla over certain tweets they posted in 2016 mocking a Jain monk.