You think Madison opposed popular opinion or ... what’re you trying to say?
Madison opposed "popular opinion" as a claim of authority for any federal power not explicitly granted by the States and enumerated in the Constitution.