Shock costs ruling penalises those helping wronged parents