border crossing help panama to costa rica ASAP

sorry for the quick write up but we are in urgent need to help getting our newly bought car from panama to costa rica. we bought the car from another couple who had gotten it in the usa and driven down through central america. we bought the car in panama and did all the full transfers and sales with the other couple there. we are now at the border with them and all was good until we tried to get the car past due to a rule that apparently states that the car cannot come back into costa rica since it had already had been issued a 90 day tourist transit.