You get a warning popup and the application is blocked from running if it is not signed by an Apple Developer Account ($100/yr) and countersigned (i.e., notarized) by Apple.
This is separate from the 30% App Store commission.
This is separate from the 30% App Store commission.