borderline

noun

A boundary separating two countries or areas.

adjective

Only just acceptable in quality or as belonging to a category.