"can there be a namespace with the same name as a class?"
No, If they are in the same namespace, as in your case.
Otherwise, yes. Anything can have the same name as anything else if they are in different namespaces. See this stackoverflow thread as reference.