A Yorkshire motorist has won a court case against a parking company after being fined £268 for taking too long to pay a £1.20 charge.