Stop in for a cup of coffee

I do not get how any court would let a 5 year old even attempt to make that decision.