I have a Lead that is automatically converted using a trigger. The default Record Type for this profile is Person Account and it works as expected. Now I need to explicitly set the Account Record Type for the conversion process as the profile should create different Record Types in the future.
First question: How can I explicitly set the Account Record Type for Lead conversion in Apex?
Second question: I have a unit test for the current behavior. I set the same profile for Lead creation and Lead conversion, but for some reason, I always end up with a Business Account. Any idea why?