In SMB1, the castles are defended by Bowser dopplegangers (if you kill them using fireballs, you can see they are originally regular enemies like goombas, hammer bros, koopas, lakitus, etc..).
The Koopalings weren't in the games until SMB3 (SMB2 and the real SMB2 "Lost Levels" didn't have...