The registrar may only file a trademark objection if the registrar discovers some collection of incorrect or incomplete details in the trademark application.
Any third party can file a trademark opposition after a trademark is published in the Trademark Journal if they discover a trademark that is identical to their trademark or any other established trademark.