Magistrates and clerks could be forced to pick up appeals costs bill