A man’s trip to Maccies ended in a court date and a £438 bill after he littered a drinks can.