Don't know how Maine is but in Washington if you get drugged test for driving a motor vehicle and come up postive its the same thing as dui. Huge fines,possible jail and loss of license for a year. You're definitely going to need an attorney.
One of the best arguements for a weed positive is what level of thc are you under the influence. There are no guidelines like there is for alcohol.