Owners of a takeaway that was given a zero-rated food hygiene rating have been fined £15,000 in court.