A lorry got stuck on a windy lane in Cornwall despite "legally enforceable length restrictions" and has been causing chaos.