\documentclass[../../main.tex]{subfiles}
\begin{document}

\section{The first section}
Titling notwithstanding, could this issue be a case of PEBCAC?

\subsection{A subsection}
Hello world.

\end{document}
